public AttachedPermissionsBoundary withPermissionsBoundaryType(PermissionsBoundaryAttachmentType permissionsBoundaryType) {
        this.permissionsBoundaryType = permissionsBoundaryType.toString();
        return this;
    }
<p>
The permissions boundary usage type that indicates what type of IAM resource is used as the permissions boundary
for an entity. This data type can only have a value of <code>Policy</code>.
</p>

@param permissionsBoundaryType
       The permissions boundary usage type that indicates what type of IAM resource is used as the permissions
       boundary for an entity. This data type can only have a value of <code>Policy</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see PermissionsBoundaryAttachmentType
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/AttachedPermissionsBoundary.java