Class FederatedUser
- All Implemented Interfaces:
Serializable
,Cloneable
Identifiers for the federated user that is associated with the credentials.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for FederatedUser object.FederatedUser
(String federatedUserId, String arn) Constructs a new FederatedUser object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getArn()
The ARN that specifies the federated user that is associated with the credentials.The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.int
hashCode()
void
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.toString()
Returns a string representation of this object; useful for testing and debugging.The ARN that specifies the federated user that is associated with the credentials.withFederatedUserId
(String federatedUserId) The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
-
Constructor Details
-
FederatedUser
public FederatedUser()Default constructor for FederatedUser object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
FederatedUser
Constructs a new FederatedUser object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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.
-
-
Method Details
-
setFederatedUserId
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
- Parameters:
federatedUserId
- The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
-
getFederatedUserId
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
- Returns:
- The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
-
withFederatedUserId
The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.
- Parameters:
federatedUserId
- The string that identifies the federated user associated with the credentials, similar to the unique ID of an IAM user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setArn
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withArn
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-