@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProfileDetail extends Object implements Serializable, Cloneable, StructuredPojo
The state of the profile after a read or write operation.
Constructor and Description |
---|
ProfileDetail() |
Modifier and Type | Method and Description |
---|---|
ProfileDetail |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The ISO-8601 timestamp when the profile was created.
|
String |
getCreatedBy()
The Amazon Web Services account that created the profile.
|
Integer |
getDurationSeconds()
The number of seconds the vended session credentials are valid for.
|
Boolean |
getEnabled()
Indicates whether the profile is enabled.
|
List<String> |
getManagedPolicyArns()
A list of managed policy ARNs that apply to the vended session credentials.
|
String |
getName()
The name of the profile.
|
String |
getProfileArn()
The ARN of the profile.
|
String |
getProfileId()
The unique identifier of the profile.
|
Boolean |
getRequireInstanceProperties()
Specifies whether instance properties are required in CreateSession
requests with this profile.
|
List<String> |
getRoleArns()
A list of IAM roles that this profile can assume in a CreateSession
operation.
|
String |
getSessionPolicy()
A session policy that applies to the trust boundary of the vended session credentials.
|
Date |
getUpdatedAt()
The ISO-8601 timestamp when the profile was last updated.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether the profile is enabled.
|
Boolean |
isRequireInstanceProperties()
Specifies whether instance properties are required in CreateSession
requests with this profile.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The ISO-8601 timestamp when the profile was created.
|
void |
setCreatedBy(String createdBy)
The Amazon Web Services account that created the profile.
|
void |
setDurationSeconds(Integer durationSeconds)
The number of seconds the vended session credentials are valid for.
|
void |
setEnabled(Boolean enabled)
Indicates whether the profile is enabled.
|
void |
setManagedPolicyArns(Collection<String> managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
|
void |
setName(String name)
The name of the profile.
|
void |
setProfileArn(String profileArn)
The ARN of the profile.
|
void |
setProfileId(String profileId)
The unique identifier of the profile.
|
void |
setRequireInstanceProperties(Boolean requireInstanceProperties)
Specifies whether instance properties are required in CreateSession
requests with this profile.
|
void |
setRoleArns(Collection<String> roleArns)
A list of IAM roles that this profile can assume in a CreateSession
operation.
|
void |
setSessionPolicy(String sessionPolicy)
A session policy that applies to the trust boundary of the vended session credentials.
|
void |
setUpdatedAt(Date updatedAt)
The ISO-8601 timestamp when the profile was last updated.
|
String |
toString()
Returns a string representation of this object.
|
ProfileDetail |
withCreatedAt(Date createdAt)
The ISO-8601 timestamp when the profile was created.
|
ProfileDetail |
withCreatedBy(String createdBy)
The Amazon Web Services account that created the profile.
|
ProfileDetail |
withDurationSeconds(Integer durationSeconds)
The number of seconds the vended session credentials are valid for.
|
ProfileDetail |
withEnabled(Boolean enabled)
Indicates whether the profile is enabled.
|
ProfileDetail |
withManagedPolicyArns(Collection<String> managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
|
ProfileDetail |
withManagedPolicyArns(String... managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
|
ProfileDetail |
withName(String name)
The name of the profile.
|
ProfileDetail |
withProfileArn(String profileArn)
The ARN of the profile.
|
ProfileDetail |
withProfileId(String profileId)
The unique identifier of the profile.
|
ProfileDetail |
withRequireInstanceProperties(Boolean requireInstanceProperties)
Specifies whether instance properties are required in CreateSession
requests with this profile.
|
ProfileDetail |
withRoleArns(Collection<String> roleArns)
A list of IAM roles that this profile can assume in a CreateSession
operation.
|
ProfileDetail |
withRoleArns(String... roleArns)
A list of IAM roles that this profile can assume in a CreateSession
operation.
|
ProfileDetail |
withSessionPolicy(String sessionPolicy)
A session policy that applies to the trust boundary of the vended session credentials.
|
ProfileDetail |
withUpdatedAt(Date updatedAt)
The ISO-8601 timestamp when the profile was last updated.
|
public void setCreatedAt(Date createdAt)
The ISO-8601 timestamp when the profile was created.
createdAt
- The ISO-8601 timestamp when the profile was created.public Date getCreatedAt()
The ISO-8601 timestamp when the profile was created.
public ProfileDetail withCreatedAt(Date createdAt)
The ISO-8601 timestamp when the profile was created.
createdAt
- The ISO-8601 timestamp when the profile was created.public void setCreatedBy(String createdBy)
The Amazon Web Services account that created the profile.
createdBy
- The Amazon Web Services account that created the profile.public String getCreatedBy()
The Amazon Web Services account that created the profile.
public ProfileDetail withCreatedBy(String createdBy)
The Amazon Web Services account that created the profile.
createdBy
- The Amazon Web Services account that created the profile.public void setDurationSeconds(Integer durationSeconds)
The number of seconds the vended session credentials are valid for.
durationSeconds
- The number of seconds the vended session credentials are valid for.public Integer getDurationSeconds()
The number of seconds the vended session credentials are valid for.
public ProfileDetail withDurationSeconds(Integer durationSeconds)
The number of seconds the vended session credentials are valid for.
durationSeconds
- The number of seconds the vended session credentials are valid for.public void setEnabled(Boolean enabled)
Indicates whether the profile is enabled.
enabled
- Indicates whether the profile is enabled.public Boolean getEnabled()
Indicates whether the profile is enabled.
public ProfileDetail withEnabled(Boolean enabled)
Indicates whether the profile is enabled.
enabled
- Indicates whether the profile is enabled.public Boolean isEnabled()
Indicates whether the profile is enabled.
public List<String> getManagedPolicyArns()
A list of managed policy ARNs that apply to the vended session credentials.
public void setManagedPolicyArns(Collection<String> managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
managedPolicyArns
- A list of managed policy ARNs that apply to the vended session credentials.public ProfileDetail withManagedPolicyArns(String... managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
NOTE: This method appends the values to the existing list (if any). Use
setManagedPolicyArns(java.util.Collection)
or withManagedPolicyArns(java.util.Collection)
if
you want to override the existing values.
managedPolicyArns
- A list of managed policy ARNs that apply to the vended session credentials.public ProfileDetail withManagedPolicyArns(Collection<String> managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
managedPolicyArns
- A list of managed policy ARNs that apply to the vended session credentials.public void setName(String name)
The name of the profile.
name
- The name of the profile.public String getName()
The name of the profile.
public ProfileDetail withName(String name)
The name of the profile.
name
- The name of the profile.public void setProfileArn(String profileArn)
The ARN of the profile.
profileArn
- The ARN of the profile.public String getProfileArn()
The ARN of the profile.
public ProfileDetail withProfileArn(String profileArn)
The ARN of the profile.
profileArn
- The ARN of the profile.public void setProfileId(String profileId)
The unique identifier of the profile.
profileId
- The unique identifier of the profile.public String getProfileId()
The unique identifier of the profile.
public ProfileDetail withProfileId(String profileId)
The unique identifier of the profile.
profileId
- The unique identifier of the profile.public void setRequireInstanceProperties(Boolean requireInstanceProperties)
Specifies whether instance properties are required in CreateSession requests with this profile.
requireInstanceProperties
- Specifies whether instance properties are required in CreateSession requests with this profile.public Boolean getRequireInstanceProperties()
Specifies whether instance properties are required in CreateSession requests with this profile.
public ProfileDetail withRequireInstanceProperties(Boolean requireInstanceProperties)
Specifies whether instance properties are required in CreateSession requests with this profile.
requireInstanceProperties
- Specifies whether instance properties are required in CreateSession requests with this profile.public Boolean isRequireInstanceProperties()
Specifies whether instance properties are required in CreateSession requests with this profile.
public List<String> getRoleArns()
A list of IAM roles that this profile can assume in a CreateSession operation.
public void setRoleArns(Collection<String> roleArns)
A list of IAM roles that this profile can assume in a CreateSession operation.
roleArns
- A list of IAM roles that this profile can assume in a CreateSession operation.public ProfileDetail withRoleArns(String... roleArns)
A list of IAM roles that this profile can assume in a CreateSession operation.
NOTE: This method appends the values to the existing list (if any). Use
setRoleArns(java.util.Collection)
or withRoleArns(java.util.Collection)
if you want to override
the existing values.
roleArns
- A list of IAM roles that this profile can assume in a CreateSession operation.public ProfileDetail withRoleArns(Collection<String> roleArns)
A list of IAM roles that this profile can assume in a CreateSession operation.
roleArns
- A list of IAM roles that this profile can assume in a CreateSession operation.public void setSessionPolicy(String sessionPolicy)
A session policy that applies to the trust boundary of the vended session credentials.
sessionPolicy
- A session policy that applies to the trust boundary of the vended session credentials.public String getSessionPolicy()
A session policy that applies to the trust boundary of the vended session credentials.
public ProfileDetail withSessionPolicy(String sessionPolicy)
A session policy that applies to the trust boundary of the vended session credentials.
sessionPolicy
- A session policy that applies to the trust boundary of the vended session credentials.public void setUpdatedAt(Date updatedAt)
The ISO-8601 timestamp when the profile was last updated.
updatedAt
- The ISO-8601 timestamp when the profile was last updated.public Date getUpdatedAt()
The ISO-8601 timestamp when the profile was last updated.
public ProfileDetail withUpdatedAt(Date updatedAt)
The ISO-8601 timestamp when the profile was last updated.
updatedAt
- The ISO-8601 timestamp when the profile was last updated.public String toString()
toString
in class Object
Object.toString()
public ProfileDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.