public S3Presign withIamPolicyConstraints(IamPolicyConstraints iamPolicyConstraints) {
        setIamPolicyConstraints(iamPolicyConstraints);
        return this;
    }
<p>
Use this parameter to specify the allowed request source. Possible sources are either <code>SourceIp</code> or
<code>VpcSourceIp</code>.
</p>

@param iamPolicyConstraints
       Use this parameter to specify the allowed request source. Possible sources are either
       <code>SourceIp</code> or <code>VpcSourceIp</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/S3Presign.java