|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.securitytoken.model.GetFederationTokenResult
public class GetFederationTokenResult
Contains the result of a successful invocation of the GetFederationToken action.
Constructor Summary | |
---|---|
GetFederationTokenResult()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Credentials |
getCredentials()
Credentials for the service API authentication. |
FederatedUser |
getFederatedUser()
Identifiers for the federated user associated with the credentials (such as arn:aws:sts::123456789012:federated-user/Bob or
123456789012:Bob ). |
Integer |
getPackedPolicySize()
A percentage value indicating the size of the policy in packed form. |
int |
hashCode()
|
void |
setCredentials(Credentials credentials)
Credentials for the service API authentication. |
void |
setFederatedUser(FederatedUser federatedUser)
Identifiers for the federated user associated with the credentials (such as arn:aws:sts::123456789012:federated-user/Bob or
123456789012:Bob ). |
void |
setPackedPolicySize(Integer packedPolicySize)
A percentage value indicating the size of the policy in packed form. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
GetFederationTokenResult |
withCredentials(Credentials credentials)
Credentials for the service API authentication. |
GetFederationTokenResult |
withFederatedUser(FederatedUser federatedUser)
Identifiers for the federated user associated with the credentials (such as arn:aws:sts::123456789012:federated-user/Bob or
123456789012:Bob ). |
GetFederationTokenResult |
withPackedPolicySize(Integer packedPolicySize)
A percentage value indicating the size of the policy in packed form. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GetFederationTokenResult()
Method Detail |
---|
public Credentials getCredentials()
public void setCredentials(Credentials credentials)
credentials
- Credentials for the service API authentication.public GetFederationTokenResult withCredentials(Credentials credentials)
Returns a reference to this object so that method calls can be chained together.
credentials
- Credentials for the service API authentication.
public FederatedUser getFederatedUser()
arn:aws:sts::123456789012:federated-user/Bob
or
123456789012:Bob
). You can use the federated user's ARN
in your resource policies like in an Amazon S3 bucket policy.
arn:aws:sts::123456789012:federated-user/Bob
or
123456789012:Bob
). You can use the federated user's ARN
in your resource policies like in an Amazon S3 bucket policy.public void setFederatedUser(FederatedUser federatedUser)
arn:aws:sts::123456789012:federated-user/Bob
or
123456789012:Bob
). You can use the federated user's ARN
in your resource policies like in an Amazon S3 bucket policy.
federatedUser
- Identifiers for the federated user associated with the credentials
(such as arn:aws:sts::123456789012:federated-user/Bob
or
123456789012:Bob
). You can use the federated user's ARN
in your resource policies like in an Amazon S3 bucket policy.public GetFederationTokenResult withFederatedUser(FederatedUser federatedUser)
arn:aws:sts::123456789012:federated-user/Bob
or
123456789012:Bob
). You can use the federated user's ARN
in your resource policies like in an Amazon S3 bucket policy.
Returns a reference to this object so that method calls can be chained together.
federatedUser
- Identifiers for the federated user associated with the credentials
(such as arn:aws:sts::123456789012:federated-user/Bob
or
123456789012:Bob
). You can use the federated user's ARN
in your resource policies like in an Amazon S3 bucket policy.
public Integer getPackedPolicySize()
Constraints:
Range: 0 -
public void setPackedPolicySize(Integer packedPolicySize)
Constraints:
Range: 0 -
packedPolicySize
- A percentage value indicating the size of the policy in packed form.
The service rejects policies for which the packed size is greater than
100 percent of the allowed value.public GetFederationTokenResult withPackedPolicySize(Integer packedPolicySize)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
packedPolicySize
- A percentage value indicating the size of the policy in packed form.
The service rejects policies for which the packed size is greater than
100 percent of the allowed value.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |