@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FederatedUser extends Object implements Serializable, Cloneable
Identifiers for the federated user that is associated with the credentials.
Constructor and Description |
---|
FederatedUser()
Default constructor for FederatedUser object.
|
FederatedUser(String federatedUserId,
String arn)
Constructs a new FederatedUser object.
|
Modifier and Type | Method and Description |
---|---|
FederatedUser |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN that specifies the federated user that is associated with the credentials.
|
String |
getFederatedUserId()
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM
user.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN that specifies the federated user that is associated with the credentials.
|
void |
setFederatedUserId(String federatedUserId)
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM
user.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FederatedUser |
withArn(String arn)
The ARN that specifies the federated user that is associated with the credentials.
|
FederatedUser |
withFederatedUserId(String federatedUserId)
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM
user.
|
public FederatedUser()
public FederatedUser(String federatedUserId, String arn)
federatedUserId
- The string that identifies the federated user associated with the credentials, similar to the unique ID of
an IAM user.arn
- The ARN that specifies the federated user that is associated with the credentials. For more information
about ARNs and how to use them in policies, see IAM Identifiers in
Using IAM.public void setFederatedUserId(String federatedUserId)
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
federatedUserId
- The string that identifies the federated user associated with the credentials, similar to the unique ID of
an IAM user.public String getFederatedUserId()
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
public FederatedUser withFederatedUserId(String federatedUserId)
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
federatedUserId
- The string that identifies the federated user associated with the credentials, similar to the unique ID of
an IAM user.public void setArn(String arn)
The ARN that specifies the federated user that is associated with the credentials. For more information about ARNs and how to use them in policies, see IAM Identifiers in Using IAM.
arn
- The ARN that specifies the federated user that is associated with the credentials. For more information
about ARNs and how to use them in policies, see IAM Identifiers in
Using IAM.public String getArn()
The ARN that specifies the federated user that is associated with the credentials. For more information about ARNs and how to use them in policies, see IAM Identifiers in Using IAM.
public FederatedUser withArn(String arn)
The ARN that specifies the federated user that is associated with the credentials. For more information about ARNs and how to use them in policies, see IAM Identifiers in Using IAM.
arn
- The ARN that specifies the federated user that is associated with the credentials. For more information
about ARNs and how to use them in policies, see IAM Identifiers in
Using IAM.public String toString()
toString
in class Object
Object.toString()
public FederatedUser clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.