public void marshall(S3EncryptionSettings s3EncryptionSettings, ProtocolMarshaller protocolMarshaller) {

        if (s3EncryptionSettings == null) {
            throw new SdkClientException("Invalid argument passed to marshall(...)");
        }

        try {
            protocolMarshaller.marshall(s3EncryptionSettings.getEncryptionType(), ENCRYPTIONTYPE_BINDING);
            protocolMarshaller.marshall(s3EncryptionSettings.getKmsKeyArn(), KMSKEYARN_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( S3EncryptionSettings s3EncryptionSettings , ProtocolMarshaller protocolMarshaller ) { if ( s3EncryptionSettings == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( s3EncryptionSettings . getEncryptionType ( ) , ENCRYPTIONTYPE_BINDING ) ; protocolMarshaller . marshall ( s3EncryptionSettings . getKmsKeyArn ( ) , KMSKEYARN_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.