public UpdateEncryption withSecretArn(String secretArn) {
        setSecretArn(secretArn);
        return this;
    }
The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter is
required for static key encryption and is not valid for SPEKE encryption.

@param secretArn
       The ARN of the secret that you created in AWS Secrets Manager to store the encryption key. This parameter
       is required for static key encryption and is not valid for SPEKE encryption.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/UpdateEncryption.java