@Generated(value="software.amazon.awssdk:codegen") public final class GetAuthPolicyResponse extends VpcLatticeResponse implements ToCopyableBuilder<GetAuthPolicyResponse.Builder,GetAuthPolicyResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetAuthPolicyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetAuthPolicyResponse.Builder |
builder() |
Instant |
createdAt()
The date and time that the auth policy was created, specified in ISO-8601 format.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedAt()
The date and time that the auth policy was last updated, specified in ISO-8601 format.
|
String |
policy()
The auth policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetAuthPolicyResponse.Builder> |
serializableBuilderClass() |
AuthPolicyState |
state()
The state of the auth policy.
|
String |
stateAsString()
The state of the auth policy.
|
GetAuthPolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant createdAt()
The date and time that the auth policy was created, specified in ISO-8601 format.
public final Instant lastUpdatedAt()
The date and time that the auth policy was last updated, specified in ISO-8601 format.
public 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 GetAuthPolicyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetAuthPolicyResponse.Builder,GetAuthPolicyResponse>toBuilder in class AwsResponsepublic static GetAuthPolicyResponse.Builder builder()
public static Class<? extends GetAuthPolicyResponse.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.