@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestInvokeAuthorizerResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
TestInvokeAuthorizerResult() |
Modifier and Type | Method and Description |
---|---|
TestInvokeAuthorizerResult |
clone() |
boolean |
equals(Object obj) |
Integer |
getDisconnectAfterInSeconds()
The number of seconds after which the connection is terminated.
|
Boolean |
getIsAuthenticated()
True if the token is authenticated, otherwise false.
|
List<String> |
getPolicyDocuments()
IAM policy documents.
|
String |
getPrincipalId()
The principal ID.
|
Integer |
getRefreshAfterInSeconds()
The number of seconds after which the temporary credentials are refreshed.
|
int |
hashCode() |
Boolean |
isAuthenticated()
True if the token is authenticated, otherwise false.
|
void |
setDisconnectAfterInSeconds(Integer disconnectAfterInSeconds)
The number of seconds after which the connection is terminated.
|
void |
setIsAuthenticated(Boolean isAuthenticated)
True if the token is authenticated, otherwise false.
|
void |
setPolicyDocuments(Collection<String> policyDocuments)
IAM policy documents.
|
void |
setPrincipalId(String principalId)
The principal ID.
|
void |
setRefreshAfterInSeconds(Integer refreshAfterInSeconds)
The number of seconds after which the temporary credentials are refreshed.
|
String |
toString()
Returns a string representation of this object.
|
TestInvokeAuthorizerResult |
withDisconnectAfterInSeconds(Integer disconnectAfterInSeconds)
The number of seconds after which the connection is terminated.
|
TestInvokeAuthorizerResult |
withIsAuthenticated(Boolean isAuthenticated)
True if the token is authenticated, otherwise false.
|
TestInvokeAuthorizerResult |
withPolicyDocuments(Collection<String> policyDocuments)
IAM policy documents.
|
TestInvokeAuthorizerResult |
withPolicyDocuments(String... policyDocuments)
IAM policy documents.
|
TestInvokeAuthorizerResult |
withPrincipalId(String principalId)
The principal ID.
|
TestInvokeAuthorizerResult |
withRefreshAfterInSeconds(Integer refreshAfterInSeconds)
The number of seconds after which the temporary credentials are refreshed.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setIsAuthenticated(Boolean isAuthenticated)
True if the token is authenticated, otherwise false.
isAuthenticated
- True if the token is authenticated, otherwise false.public Boolean getIsAuthenticated()
True if the token is authenticated, otherwise false.
public TestInvokeAuthorizerResult withIsAuthenticated(Boolean isAuthenticated)
True if the token is authenticated, otherwise false.
isAuthenticated
- True if the token is authenticated, otherwise false.public Boolean isAuthenticated()
True if the token is authenticated, otherwise false.
public void setPrincipalId(String principalId)
The principal ID.
principalId
- The principal ID.public String getPrincipalId()
The principal ID.
public TestInvokeAuthorizerResult withPrincipalId(String principalId)
The principal ID.
principalId
- The principal ID.public List<String> getPolicyDocuments()
IAM policy documents.
public void setPolicyDocuments(Collection<String> policyDocuments)
IAM policy documents.
policyDocuments
- IAM policy documents.public TestInvokeAuthorizerResult withPolicyDocuments(String... policyDocuments)
IAM policy documents.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyDocuments(java.util.Collection)
or withPolicyDocuments(java.util.Collection)
if you
want to override the existing values.
policyDocuments
- IAM policy documents.public TestInvokeAuthorizerResult withPolicyDocuments(Collection<String> policyDocuments)
IAM policy documents.
policyDocuments
- IAM policy documents.public void setRefreshAfterInSeconds(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 Integer getRefreshAfterInSeconds()
The number of seconds after which the temporary credentials are refreshed.
public TestInvokeAuthorizerResult withRefreshAfterInSeconds(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 void setDisconnectAfterInSeconds(Integer disconnectAfterInSeconds)
The number of seconds after which the connection is terminated.
disconnectAfterInSeconds
- The number of seconds after which the connection is terminated.public Integer getDisconnectAfterInSeconds()
The number of seconds after which the connection is terminated.
public TestInvokeAuthorizerResult withDisconnectAfterInSeconds(Integer disconnectAfterInSeconds)
The number of seconds after which the connection is terminated.
disconnectAfterInSeconds
- The number of seconds after which the connection is terminated.public String toString()
toString
in class Object
Object.toString()
public TestInvokeAuthorizerResult clone()