@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. The policy string in JSON must not contain newlines or blank lines.
policy
- The auth policy. The policy string in JSON must not contain newlines or blank lines.public String getPolicy()
The auth policy. The policy string in JSON must not contain newlines or blank lines.
public PutAuthPolicyResult withPolicy(String policy)
The auth policy. The policy string in JSON must not contain newlines or blank lines.
policy
- The auth policy. The policy string in JSON must not contain newlines or blank lines.public void setState(String state)
The state of the auth policy. The auth policy is only active when the auth type is set to AWS_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 that you provide remains
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
AWS_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 that you provide remains 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 AWS_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 that you provide remains
inactive. For more information, see Create a
service network in the Amazon VPC Lattice User Guide.
AWS_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 that you provide remains 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 AWS_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 that you provide remains
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
AWS_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 that you provide remains 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 AWS_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 that you provide remains
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
AWS_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 that you provide remains 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()