@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.
|
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
the IAM User Guide.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 the IAM User Guide.
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
the IAM User Guide.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 the IAM User Guide.
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 the IAM User Guide.
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
the IAM User Guide.public String toString()
toString
in class Object
Object.toString()
public FederatedUser clone()