@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAuthPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetAuthPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetAuthPolicyResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The date and time that the auth policy was created, specified in ISO-8601 format.
|
Date |
getLastUpdatedAt()
The date and time that the auth policy was last updated, specified in ISO-8601 format.
|
String |
getPolicy()
The auth policy.
|
String |
getState()
The state of the auth policy.
|
int |
hashCode() |
void |
setCreatedAt(Date createdAt)
The date and time that the auth policy was created, specified in ISO-8601 format.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The date and time that the auth policy was last updated, specified in ISO-8601 format.
|
void |
setPolicy(String policy)
The auth policy.
|
void |
setState(String state)
The state of the auth policy.
|
String |
toString()
Returns a string representation of this object.
|
GetAuthPolicyResult |
withCreatedAt(Date createdAt)
The date and time that the auth policy was created, specified in ISO-8601 format.
|
GetAuthPolicyResult |
withLastUpdatedAt(Date lastUpdatedAt)
The date and time that the auth policy was last updated, specified in ISO-8601 format.
|
GetAuthPolicyResult |
withPolicy(String policy)
The auth policy.
|
GetAuthPolicyResult |
withState(AuthPolicyState state)
The state of the auth policy.
|
GetAuthPolicyResult |
withState(String state)
The state of the auth policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCreatedAt(Date createdAt)
The date and time that the auth policy was created, specified in ISO-8601 format.
createdAt
- The date and time that the auth policy was created, specified in ISO-8601 format.public Date getCreatedAt()
The date and time that the auth policy was created, specified in ISO-8601 format.
public GetAuthPolicyResult withCreatedAt(Date createdAt)
The date and time that the auth policy was created, specified in ISO-8601 format.
createdAt
- The date and time that the auth policy was created, specified in ISO-8601 format.public void setLastUpdatedAt(Date lastUpdatedAt)
The date and time that the auth policy was last updated, specified in ISO-8601 format.
lastUpdatedAt
- The date and time that the auth policy was last updated, specified in ISO-8601 format.public Date getLastUpdatedAt()
The date and time that the auth policy was last updated, specified in ISO-8601 format.
public GetAuthPolicyResult withLastUpdatedAt(Date lastUpdatedAt)
The date and time that the auth policy was last updated, specified in ISO-8601 format.
lastUpdatedAt
- The date and time that the auth policy was last updated, specified in ISO-8601 format.public void setPolicy(String policy)
The auth policy.
policy
- The auth policy.public String getPolicy()
The auth policy.
public GetAuthPolicyResult withPolicy(String policy)
The auth policy.
policy
- The auth policy.public void setState(String state)
The state of the auth policy. The auth policy is only active when the auth type is set to
Amazon Web Services_IAM
. If you provide a policy, then authentication and authorization decisions
are made based on this policy and the client's IAM policy. If the auth type is NONE
, then any auth
policy you provide will remain inactive. For more information, see Create a
service network in the Amazon VPC Lattice User Guide.
state
- The state of the auth policy. The auth policy is only active when the auth type is set to
Amazon Web Services_IAM
. If you provide a policy, then authentication and authorization
decisions are made based on this policy and the client's IAM policy. If the auth type is NONE
, then any auth policy you provide will remain inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.AuthPolicyState
public String getState()
The state of the auth policy. The auth policy is only active when the auth type is set to
Amazon Web Services_IAM
. If you provide a policy, then authentication and authorization decisions
are made based on this policy and the client's IAM policy. If the auth type is NONE
, then any auth
policy you provide will remain inactive. For more information, see Create a
service network in the Amazon VPC Lattice User Guide.
Amazon Web Services_IAM
. If you provide a policy, then authentication and authorization
decisions are made based on this policy and the client's IAM policy. If the auth type is
NONE
, then any auth policy you provide will remain inactive. For more information, see Create
a service network in the Amazon VPC Lattice User Guide.AuthPolicyState
public GetAuthPolicyResult withState(String state)
The state of the auth policy. The auth policy is only active when the auth type is set to
Amazon Web Services_IAM
. If you provide a policy, then authentication and authorization decisions
are made based on this policy and the client's IAM policy. If the auth type is NONE
, then any auth
policy you provide will remain inactive. For more information, see Create a
service network in the Amazon VPC Lattice User Guide.
state
- The state of the auth policy. The auth policy is only active when the auth type is set to
Amazon Web Services_IAM
. If you provide a policy, then authentication and authorization
decisions are made based on this policy and the client's IAM policy. If the auth type is NONE
, then any auth policy you provide will remain inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.AuthPolicyState
public GetAuthPolicyResult withState(AuthPolicyState state)
The state of the auth policy. The auth policy is only active when the auth type is set to
Amazon Web Services_IAM
. If you provide a policy, then authentication and authorization decisions
are made based on this policy and the client's IAM policy. If the auth type is NONE
, then any auth
policy you provide will remain inactive. For more information, see Create a
service network in the Amazon VPC Lattice User Guide.
state
- The state of the auth policy. The auth policy is only active when the auth type is set to
Amazon Web Services_IAM
. If you provide a policy, then authentication and authorization
decisions are made based on this policy and the client's IAM policy. If the auth type is NONE
, then any auth policy you provide will remain inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.AuthPolicyState
public String toString()
toString
in class Object
Object.toString()
public GetAuthPolicyResult clone()