@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) |
Boolean |
getAcceptRoleSessionName()
Used to determine if a custom role session name will be accepted in a temporary credential request.
|
List<AttributeMapping> |
getAttributeMappings()
A mapping applied to the authenticating end-entity certificate.
|
Date |
getCreatedAt()
The ISO-8601 timestamp when the profile was created.
|
String |
getCreatedBy()
The Amazon Web Services account that created the profile.
|
Integer |
getDurationSeconds()
Used to determine how long sessions vended using this profile 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 temporary credential requests with this profile.
|
List<String> |
getRoleArns()
A list of IAM roles that this profile can assume in a temporary credential request.
|
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 |
isAcceptRoleSessionName()
Used to determine if a custom role session name will be accepted in a temporary credential request.
|
Boolean |
isEnabled()
Indicates whether the profile is enabled.
|
Boolean |
isRequireInstanceProperties()
Specifies whether instance properties are required in temporary credential requests with this profile.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAcceptRoleSessionName(Boolean acceptRoleSessionName)
Used to determine if a custom role session name will be accepted in a temporary credential request.
|
void |
setAttributeMappings(Collection<AttributeMapping> attributeMappings)
A mapping applied to the authenticating end-entity certificate.
|
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)
Used to determine how long sessions vended using this profile 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 temporary credential requests with this profile.
|
void |
setRoleArns(Collection<String> roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
|
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 |
withAcceptRoleSessionName(Boolean acceptRoleSessionName)
Used to determine if a custom role session name will be accepted in a temporary credential request.
|
ProfileDetail |
withAttributeMappings(AttributeMapping... attributeMappings)
A mapping applied to the authenticating end-entity certificate.
|
ProfileDetail |
withAttributeMappings(Collection<AttributeMapping> attributeMappings)
A mapping applied to the authenticating end-entity certificate.
|
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)
Used to determine how long sessions vended using this profile 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 temporary credential requests with this profile.
|
ProfileDetail |
withRoleArns(Collection<String> roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
|
ProfileDetail |
withRoleArns(String... roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
|
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 setAcceptRoleSessionName(Boolean acceptRoleSessionName)
Used to determine if a custom role session name will be accepted in a temporary credential request.
acceptRoleSessionName
- Used to determine if a custom role session name will be accepted in a temporary credential request.public Boolean getAcceptRoleSessionName()
Used to determine if a custom role session name will be accepted in a temporary credential request.
public ProfileDetail withAcceptRoleSessionName(Boolean acceptRoleSessionName)
Used to determine if a custom role session name will be accepted in a temporary credential request.
acceptRoleSessionName
- Used to determine if a custom role session name will be accepted in a temporary credential request.public Boolean isAcceptRoleSessionName()
Used to determine if a custom role session name will be accepted in a temporary credential request.
public List<AttributeMapping> getAttributeMappings()
A mapping applied to the authenticating end-entity certificate.
public void setAttributeMappings(Collection<AttributeMapping> attributeMappings)
A mapping applied to the authenticating end-entity certificate.
attributeMappings
- A mapping applied to the authenticating end-entity certificate.public ProfileDetail withAttributeMappings(AttributeMapping... attributeMappings)
A mapping applied to the authenticating end-entity certificate.
NOTE: This method appends the values to the existing list (if any). Use
setAttributeMappings(java.util.Collection)
or withAttributeMappings(java.util.Collection)
if
you want to override the existing values.
attributeMappings
- A mapping applied to the authenticating end-entity certificate.public ProfileDetail withAttributeMappings(Collection<AttributeMapping> attributeMappings)
A mapping applied to the authenticating end-entity certificate.
attributeMappings
- A mapping applied to the authenticating end-entity certificate.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)
Used to determine how long sessions vended using this profile are valid for. See the Expiration
section of the CreateSession API documentation page for more details. In requests, if this value is not provided, the
default value will be 3600.
durationSeconds
- Used to determine how long sessions vended using this profile are valid for. See the
Expiration
section of the CreateSession API documentation page for more details. In requests, if this value is not provided,
the default value will be 3600.public Integer getDurationSeconds()
Used to determine how long sessions vended using this profile are valid for. See the Expiration
section of the CreateSession API documentation page for more details. In requests, if this value is not provided, the
default value will be 3600.
Expiration
section of the CreateSession API documentation page for more details. In requests, if this value is not provided,
the default value will be 3600.public ProfileDetail withDurationSeconds(Integer durationSeconds)
Used to determine how long sessions vended using this profile are valid for. See the Expiration
section of the CreateSession API documentation page for more details. In requests, if this value is not provided, the
default value will be 3600.
durationSeconds
- Used to determine how long sessions vended using this profile are valid for. See the
Expiration
section of the CreateSession API documentation page for more details. In requests, if this value is not provided,
the default value will be 3600.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 temporary credential requests with this profile.
requireInstanceProperties
- Specifies whether instance properties are required in temporary credential requests with this profile.public Boolean getRequireInstanceProperties()
Specifies whether instance properties are required in temporary credential requests with this profile.
public ProfileDetail withRequireInstanceProperties(Boolean requireInstanceProperties)
Specifies whether instance properties are required in temporary credential requests with this profile.
requireInstanceProperties
- Specifies whether instance properties are required in temporary credential requests with this profile.public Boolean isRequireInstanceProperties()
Specifies whether instance properties are required in temporary credential requests with this profile.
public List<String> getRoleArns()
A list of IAM roles that this profile can assume in a temporary credential request.
public void setRoleArns(Collection<String> roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
roleArns
- A list of IAM roles that this profile can assume in a temporary credential request.public ProfileDetail withRoleArns(String... roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
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 temporary credential request.public ProfileDetail withRoleArns(Collection<String> roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
roleArns
- A list of IAM roles that this profile can assume in a temporary credential request.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.