@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachedPermissionsBoundary extends Object implements Serializable, Cloneable
Contains information about an attached permissions boundary.
An attached permissions boundary is a managed policy that has been attached to a user or role to set the permissions boundary.
For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.
Constructor and Description |
---|
AttachedPermissionsBoundary() |
Modifier and Type | Method and Description |
---|---|
AttachedPermissionsBoundary |
clone() |
boolean |
equals(Object obj) |
String |
getPermissionsBoundaryArn()
The ARN of the policy used to set the permissions boundary for the user or role.
|
String |
getPermissionsBoundaryType()
The permissions boundary usage type that indicates what type of IAM resource is used as the permissions boundary
for an entity.
|
int |
hashCode() |
void |
setPermissionsBoundaryArn(String permissionsBoundaryArn)
The ARN of the policy used to set the permissions boundary for the user or role.
|
void |
setPermissionsBoundaryType(String permissionsBoundaryType)
The permissions boundary usage type that indicates what type of IAM resource is used as the permissions boundary
for an entity.
|
String |
toString()
Returns a string representation of this object.
|
AttachedPermissionsBoundary |
withPermissionsBoundaryArn(String permissionsBoundaryArn)
The ARN of the policy used to set the permissions boundary for the user or role.
|
AttachedPermissionsBoundary |
withPermissionsBoundaryType(PermissionsBoundaryAttachmentType permissionsBoundaryType)
The permissions boundary usage type that indicates what type of IAM resource is used as the permissions boundary
for an entity.
|
AttachedPermissionsBoundary |
withPermissionsBoundaryType(String permissionsBoundaryType)
The permissions boundary usage type that indicates what type of IAM resource is used as the permissions boundary
for an entity.
|
public void setPermissionsBoundaryType(String 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 Policy
.
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 Policy
.PermissionsBoundaryAttachmentType
public String getPermissionsBoundaryType()
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 Policy
.
Policy
.PermissionsBoundaryAttachmentType
public AttachedPermissionsBoundary withPermissionsBoundaryType(String 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 Policy
.
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 Policy
.PermissionsBoundaryAttachmentType
public AttachedPermissionsBoundary withPermissionsBoundaryType(PermissionsBoundaryAttachmentType 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 Policy
.
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 Policy
.PermissionsBoundaryAttachmentType
public void setPermissionsBoundaryArn(String permissionsBoundaryArn)
The ARN of the policy used to set the permissions boundary for the user or role.
permissionsBoundaryArn
- The ARN of the policy used to set the permissions boundary for the user or role.public String getPermissionsBoundaryArn()
The ARN of the policy used to set the permissions boundary for the user or role.
public AttachedPermissionsBoundary withPermissionsBoundaryArn(String permissionsBoundaryArn)
The ARN of the policy used to set the permissions boundary for the user or role.
permissionsBoundaryArn
- The ARN of the policy used to set the permissions boundary for the user or role.public String toString()
toString
in class Object
Object.toString()
public AttachedPermissionsBoundary clone()
Copyright © 2024. All rights reserved.