public DecryptStepDetails withType(EncryptionType type) {
        this.type = type.toString();
        return this;
    }
<p>
The type of encryption used. Currently, this value must be <code>PGP</code>.
</p>

@param type
       The type of encryption used. Currently, this value must be <code>PGP</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see EncryptionType
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/DecryptStepDetails.java