public UpdateEncryption withRegion(String region) {
        setRegion(region);
        return this;
    }
The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE
encryption and is not valid for static key encryption.

@param region
       The AWS Region that the API Gateway proxy endpoint was created in. This parameter is required for SPEKE
       encryption and is not valid for static key 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