@Generated(value="software.amazon.awssdk:codegen") public final class PutAuthPolicyResponse extends VpcLatticeResponse implements ToCopyableBuilder<PutAuthPolicyResponse.Builder,PutAuthPolicyResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutAuthPolicyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutAuthPolicyResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policy()
The auth policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutAuthPolicyResponse.Builder> |
serializableBuilderClass() |
AuthPolicyState |
state()
The state of the auth policy.
|
String |
stateAsString()
The state of the auth policy.
|
PutAuthPolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String policy()
The auth policy.
public final 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.
If the service returns an enum value that is not available in the current SDK version, state will return
AuthPolicyState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
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.AuthPolicyStatepublic final String stateAsString()
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.
If the service returns an enum value that is not available in the current SDK version, state will return
AuthPolicyState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
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.AuthPolicyStatepublic PutAuthPolicyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutAuthPolicyResponse.Builder,PutAuthPolicyResponse>toBuilder in class AwsResponsepublic static PutAuthPolicyResponse.Builder builder()
public static Class<? extends PutAuthPolicyResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.