@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAuthPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutAuthPolicyResult() |
Modifier and Type | Method and Description |
---|---|
PutAuthPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getPolicy()
The auth policy.
|
String |
getState()
The state of the auth policy.
|
int |
hashCode() |
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.
|
PutAuthPolicyResult |
withPolicy(String policy)
The auth policy.
|
PutAuthPolicyResult |
withState(AuthPolicyState state)
The state of the auth policy.
|
PutAuthPolicyResult |
withState(String state)
The state of the auth policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicy(String policy)
The auth policy.
policy
- The auth policy.public String getPolicy()
The auth policy.
public PutAuthPolicyResult 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 PutAuthPolicyResult 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 PutAuthPolicyResult 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 PutAuthPolicyResult clone()