@Generated(value="software.amazon.awssdk:codegen") public final class UpdatePolicyResponse extends VerifiedPermissionsResponse implements ToCopyableBuilder<UpdatePolicyResponse.Builder,UpdatePolicyResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdatePolicyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdatePolicyResponse.Builder |
builder() |
Instant |
createdDate()
The date and time that the policy was originally created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedDate()
The date and time that the policy was most recently updated.
|
String |
policyId()
The ID of the policy that was updated.
|
String |
policyStoreId()
The ID of the policy store that contains the policy that was updated.
|
PolicyType |
policyType()
The type of the policy that was updated.
|
String |
policyTypeAsString()
The type of the policy that was updated.
|
EntityIdentifier |
principal()
The principal specified in the policy's scope.
|
EntityIdentifier |
resource()
The resource specified in the policy's scope.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdatePolicyResponse.Builder> |
serializableBuilderClass() |
UpdatePolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String policyStoreId()
The ID of the policy store that contains the policy that was updated.
public final String policyId()
The ID of the policy that was updated.
public final PolicyType policyType()
The type of the policy that was updated.
If the service returns an enum value that is not available in the current SDK version, policyType will
return PolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
policyTypeAsString().
PolicyTypepublic final String policyTypeAsString()
The type of the policy that was updated.
If the service returns an enum value that is not available in the current SDK version, policyType will
return PolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
policyTypeAsString().
PolicyTypepublic final EntityIdentifier principal()
The principal specified in the policy's scope. This element isn't included in the response when
Principal isn't present in the policy content.
Principal isn't present in the policy content.public final EntityIdentifier resource()
The resource specified in the policy's scope. This element isn't included in the response when
Resource isn't present in the policy content.
Resource isn't present in the policy content.public final Instant createdDate()
The date and time that the policy was originally created.
public final Instant lastUpdatedDate()
The date and time that the policy was most recently updated.
public UpdatePolicyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdatePolicyResponse.Builder,UpdatePolicyResponse>toBuilder in class AwsResponsepublic static UpdatePolicyResponse.Builder builder()
public static Class<? extends UpdatePolicyResponse.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.