public void setEncryption(Encryption encryption) {
        this.encryption = encryption;
    }
Sets the encryption

@param encryption The new encryption value.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/S3Location.java