@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsIamAccessKeyDetails extends Object implements Serializable, Cloneable, StructuredPojo
IAM access key details related to a finding.
| Constructor and Description |
|---|
AwsIamAccessKeyDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsIamAccessKeyDetails |
clone() |
boolean |
equals(Object obj) |
String |
getCreatedAt()
Indicates when the IAM access key was created.
|
String |
getPrincipalId()
The ID of the principal associated with an access key.
|
String |
getPrincipalName()
The name of the principal.
|
String |
getPrincipalType()
The type of principal associated with an access key.
|
String |
getStatus()
The status of the IAM access key related to a finding.
|
String |
getUserName()
Deprecated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCreatedAt(String createdAt)
Indicates when the IAM access key was created.
|
void |
setPrincipalId(String principalId)
The ID of the principal associated with an access key.
|
void |
setPrincipalName(String principalName)
The name of the principal.
|
void |
setPrincipalType(String principalType)
The type of principal associated with an access key.
|
void |
setStatus(String status)
The status of the IAM access key related to a finding.
|
void |
setUserName(String userName)
Deprecated.
|
String |
toString()
Returns a string representation of this object.
|
AwsIamAccessKeyDetails |
withCreatedAt(String createdAt)
Indicates when the IAM access key was created.
|
AwsIamAccessKeyDetails |
withPrincipalId(String principalId)
The ID of the principal associated with an access key.
|
AwsIamAccessKeyDetails |
withPrincipalName(String principalName)
The name of the principal.
|
AwsIamAccessKeyDetails |
withPrincipalType(String principalType)
The type of principal associated with an access key.
|
AwsIamAccessKeyDetails |
withStatus(AwsIamAccessKeyStatus status)
The status of the IAM access key related to a finding.
|
AwsIamAccessKeyDetails |
withStatus(String status)
The status of the IAM access key related to a finding.
|
AwsIamAccessKeyDetails |
withUserName(String userName)
Deprecated.
|
@Deprecated public void setUserName(String userName)
The user associated with the IAM access key related to a finding.
The UserName parameter has been replaced with the PrincipalName parameter because
access keys can also be assigned to principals that are not IAM users.
userName - The user associated with the IAM access key related to a finding.
The UserName parameter has been replaced with the PrincipalName parameter
because access keys can also be assigned to principals that are not IAM users.
@Deprecated public String getUserName()
The user associated with the IAM access key related to a finding.
The UserName parameter has been replaced with the PrincipalName parameter because
access keys can also be assigned to principals that are not IAM users.
The UserName parameter has been replaced with the PrincipalName parameter
because access keys can also be assigned to principals that are not IAM users.
@Deprecated public AwsIamAccessKeyDetails withUserName(String userName)
The user associated with the IAM access key related to a finding.
The UserName parameter has been replaced with the PrincipalName parameter because
access keys can also be assigned to principals that are not IAM users.
userName - The user associated with the IAM access key related to a finding.
The UserName parameter has been replaced with the PrincipalName parameter
because access keys can also be assigned to principals that are not IAM users.
public void setStatus(String status)
The status of the IAM access key related to a finding.
status - The status of the IAM access key related to a finding.AwsIamAccessKeyStatuspublic String getStatus()
The status of the IAM access key related to a finding.
AwsIamAccessKeyStatuspublic AwsIamAccessKeyDetails withStatus(String status)
The status of the IAM access key related to a finding.
status - The status of the IAM access key related to a finding.AwsIamAccessKeyStatuspublic AwsIamAccessKeyDetails withStatus(AwsIamAccessKeyStatus status)
The status of the IAM access key related to a finding.
status - The status of the IAM access key related to a finding.AwsIamAccessKeyStatuspublic void setCreatedAt(String createdAt)
Indicates when the IAM access key was created.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
createdAt - Indicates when the IAM access key was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
public String getCreatedAt()
Indicates when the IAM access key was created.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
public AwsIamAccessKeyDetails withCreatedAt(String createdAt)
Indicates when the IAM access key was created.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
createdAt - Indicates when the IAM access key was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
public void setPrincipalId(String principalId)
The ID of the principal associated with an access key.
principalId - The ID of the principal associated with an access key.public String getPrincipalId()
The ID of the principal associated with an access key.
public AwsIamAccessKeyDetails withPrincipalId(String principalId)
The ID of the principal associated with an access key.
principalId - The ID of the principal associated with an access key.public void setPrincipalType(String principalType)
The type of principal associated with an access key.
principalType - The type of principal associated with an access key.public String getPrincipalType()
The type of principal associated with an access key.
public AwsIamAccessKeyDetails withPrincipalType(String principalType)
The type of principal associated with an access key.
principalType - The type of principal associated with an access key.public void setPrincipalName(String principalName)
The name of the principal.
principalName - The name of the principal.public String getPrincipalName()
The name of the principal.
public AwsIamAccessKeyDetails withPrincipalName(String principalName)
The name of the principal.
principalName - The name of the principal.public String toString()
toString in class ObjectObject.toString()public AwsIamAccessKeyDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.