public class TestInvokeAuthorizerResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
TestInvokeAuthorizerResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getDisconnectAfterInSeconds()
The number of seconds after which the connection is terminated.
|
java.lang.Boolean |
getIsAuthenticated()
True if the token is authenticated, otherwise false.
|
java.util.List<java.lang.String> |
getPolicyDocuments()
IAM policy documents.
|
java.lang.String |
getPrincipalId()
The principal ID.
|
java.lang.Integer |
getRefreshAfterInSeconds()
The number of seconds after which the temporary credentials are
refreshed.
|
int |
hashCode() |
java.lang.Boolean |
isIsAuthenticated()
True if the token is authenticated, otherwise false.
|
void |
setDisconnectAfterInSeconds(java.lang.Integer disconnectAfterInSeconds)
The number of seconds after which the connection is terminated.
|
void |
setIsAuthenticated(java.lang.Boolean isAuthenticated)
True if the token is authenticated, otherwise false.
|
void |
setPolicyDocuments(java.util.Collection<java.lang.String> policyDocuments)
IAM policy documents.
|
void |
setPrincipalId(java.lang.String principalId)
The principal ID.
|
void |
setRefreshAfterInSeconds(java.lang.Integer refreshAfterInSeconds)
The number of seconds after which the temporary credentials are
refreshed.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TestInvokeAuthorizerResult |
withDisconnectAfterInSeconds(java.lang.Integer disconnectAfterInSeconds)
The number of seconds after which the connection is terminated.
|
TestInvokeAuthorizerResult |
withIsAuthenticated(java.lang.Boolean isAuthenticated)
True if the token is authenticated, otherwise false.
|
TestInvokeAuthorizerResult |
withPolicyDocuments(java.util.Collection<java.lang.String> policyDocuments)
IAM policy documents.
|
TestInvokeAuthorizerResult |
withPolicyDocuments(java.lang.String... policyDocuments)
IAM policy documents.
|
TestInvokeAuthorizerResult |
withPrincipalId(java.lang.String principalId)
The principal ID.
|
TestInvokeAuthorizerResult |
withRefreshAfterInSeconds(java.lang.Integer refreshAfterInSeconds)
The number of seconds after which the temporary credentials are
refreshed.
|
public java.lang.Boolean isIsAuthenticated()
True if the token is authenticated, otherwise false.
True if the token is authenticated, otherwise false.
public java.lang.Boolean getIsAuthenticated()
True if the token is authenticated, otherwise false.
True if the token is authenticated, otherwise false.
public void setIsAuthenticated(java.lang.Boolean isAuthenticated)
True if the token is authenticated, otherwise false.
isAuthenticated
- True if the token is authenticated, otherwise false.
public TestInvokeAuthorizerResult withIsAuthenticated(java.lang.Boolean isAuthenticated)
True if the token is authenticated, otherwise false.
Returns a reference to this object so that method calls can be chained together.
isAuthenticated
- True if the token is authenticated, otherwise false.
public java.lang.String getPrincipalId()
The principal ID.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9]+
The principal ID.
public void setPrincipalId(java.lang.String principalId)
The principal ID.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9]+
principalId
- The principal ID.
public TestInvokeAuthorizerResult withPrincipalId(java.lang.String principalId)
The principal ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9]+
principalId
- The principal ID.
public java.util.List<java.lang.String> getPolicyDocuments()
IAM policy documents.
IAM policy documents.
public void setPolicyDocuments(java.util.Collection<java.lang.String> policyDocuments)
IAM policy documents.
policyDocuments
- IAM policy documents.
public TestInvokeAuthorizerResult withPolicyDocuments(java.lang.String... policyDocuments)
IAM policy documents.
Returns a reference to this object so that method calls can be chained together.
policyDocuments
- IAM policy documents.
public TestInvokeAuthorizerResult withPolicyDocuments(java.util.Collection<java.lang.String> policyDocuments)
IAM policy documents.
Returns a reference to this object so that method calls can be chained together.
policyDocuments
- IAM policy documents.
public java.lang.Integer getRefreshAfterInSeconds()
The number of seconds after which the temporary credentials are refreshed.
The number of seconds after which the temporary credentials are refreshed.
public void setRefreshAfterInSeconds(java.lang.Integer refreshAfterInSeconds)
The number of seconds after which the temporary credentials are refreshed.
refreshAfterInSeconds
- The number of seconds after which the temporary credentials are refreshed.
public TestInvokeAuthorizerResult withRefreshAfterInSeconds(java.lang.Integer refreshAfterInSeconds)
The number of seconds after which the temporary credentials are refreshed.
Returns a reference to this object so that method calls can be chained together.
refreshAfterInSeconds
- The number of seconds after which the temporary credentials are refreshed.
public java.lang.Integer getDisconnectAfterInSeconds()
The number of seconds after which the connection is terminated.
The number of seconds after which the connection is terminated.
public void setDisconnectAfterInSeconds(java.lang.Integer disconnectAfterInSeconds)
The number of seconds after which the connection is terminated.
disconnectAfterInSeconds
- The number of seconds after which the connection is terminated.
public TestInvokeAuthorizerResult withDisconnectAfterInSeconds(java.lang.Integer disconnectAfterInSeconds)
The number of seconds after which the connection is terminated.
Returns a reference to this object so that method calls can be chained together.
disconnectAfterInSeconds
- The number of seconds after which the connection is terminated.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.