@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PermissionSet extends Object implements Serializable, Cloneable, StructuredPojo
An entity that contains IAM policies.
Constructor and Description |
---|
PermissionSet() |
Modifier and Type | Method and Description |
---|---|
PermissionSet |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date that the permission set was created.
|
String |
getDescription()
The description of the PermissionSet.
|
String |
getName()
The name of the permission set.
|
String |
getPermissionSetArn()
The ARN of the permission set.
|
String |
getRelayState()
Used to redirect users within the application during the federation authentication process.
|
String |
getSessionDuration()
The length of time that the application user sessions are valid for in the ISO-8601 standard.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedDate(Date createdDate)
The date that the permission set was created.
|
void |
setDescription(String description)
The description of the PermissionSet.
|
void |
setName(String name)
The name of the permission set.
|
void |
setPermissionSetArn(String permissionSetArn)
The ARN of the permission set.
|
void |
setRelayState(String relayState)
Used to redirect users within the application during the federation authentication process.
|
void |
setSessionDuration(String sessionDuration)
The length of time that the application user sessions are valid for in the ISO-8601 standard.
|
String |
toString()
Returns a string representation of this object.
|
PermissionSet |
withCreatedDate(Date createdDate)
The date that the permission set was created.
|
PermissionSet |
withDescription(String description)
The description of the PermissionSet.
|
PermissionSet |
withName(String name)
The name of the permission set.
|
PermissionSet |
withPermissionSetArn(String permissionSetArn)
The ARN of the permission set.
|
PermissionSet |
withRelayState(String relayState)
Used to redirect users within the application during the federation authentication process.
|
PermissionSet |
withSessionDuration(String sessionDuration)
The length of time that the application user sessions are valid for in the ISO-8601 standard.
|
public void setName(String name)
The name of the permission set.
name
- The name of the permission set.public String getName()
The name of the permission set.
public PermissionSet withName(String name)
The name of the permission set.
name
- The name of the permission set.public void setPermissionSetArn(String permissionSetArn)
The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
permissionSetArn
- The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service
Namespaces in the AWS General Reference.public String getPermissionSetArn()
The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public PermissionSet withPermissionSetArn(String permissionSetArn)
The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
permissionSetArn
- The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service
Namespaces in the AWS General Reference.public void setDescription(String description)
The description of the PermissionSet.
description
- The description of the PermissionSet.public String getDescription()
The description of the PermissionSet.
public PermissionSet withDescription(String description)
The description of the PermissionSet.
description
- The description of the PermissionSet.public void setCreatedDate(Date createdDate)
The date that the permission set was created.
createdDate
- The date that the permission set was created.public Date getCreatedDate()
The date that the permission set was created.
public PermissionSet withCreatedDate(Date createdDate)
The date that the permission set was created.
createdDate
- The date that the permission set was created.public void setSessionDuration(String sessionDuration)
The length of time that the application user sessions are valid for in the ISO-8601 standard.
sessionDuration
- The length of time that the application user sessions are valid for in the ISO-8601 standard.public String getSessionDuration()
The length of time that the application user sessions are valid for in the ISO-8601 standard.
public PermissionSet withSessionDuration(String sessionDuration)
The length of time that the application user sessions are valid for in the ISO-8601 standard.
sessionDuration
- The length of time that the application user sessions are valid for in the ISO-8601 standard.public void setRelayState(String relayState)
Used to redirect users within the application during the federation authentication process.
relayState
- Used to redirect users within the application during the federation authentication process.public String getRelayState()
Used to redirect users within the application during the federation authentication process.
public PermissionSet withRelayState(String relayState)
Used to redirect users within the application during the federation authentication process.
relayState
- Used to redirect users within the application during the federation authentication process.public String toString()
toString
in class Object
Object.toString()
public PermissionSet clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.