@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()
The creation date/time of the IAM access key related to a finding.
|
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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(String createdAt)
The creation date/time of the IAM access key related to a finding.
|
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)
The creation date/time of the IAM access key related to a finding.
|
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.AwsIamAccessKeyStatus
public String getStatus()
The status of the IAM access key related to a finding.
AwsIamAccessKeyStatus
public 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.AwsIamAccessKeyStatus
public 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.AwsIamAccessKeyStatus
public void setCreatedAt(String createdAt)
The creation date/time of the IAM access key related to a finding.
createdAt
- The creation date/time of the IAM access key related to a finding.public String getCreatedAt()
The creation date/time of the IAM access key related to a finding.
public AwsIamAccessKeyDetails withCreatedAt(String createdAt)
The creation date/time of the IAM access key related to a finding.
createdAt
- The creation date/time of the IAM access key related to a finding.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 Object
Object.toString()
public AwsIamAccessKeyDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.