@Generated(value="software.amazon.awssdk:codegen") public final class GetPolicyTemplateResponse extends VerifiedPermissionsResponse implements ToCopyableBuilder<GetPolicyTemplateResponse.Builder,GetPolicyTemplateResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetPolicyTemplateResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetPolicyTemplateResponse.Builder |
builder() |
Instant |
createdDate()
The date and time that the policy template was originally created.
|
String |
description()
The description of the policy template.
|
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 template was most recently updated.
|
String |
policyStoreId()
The ID of the policy store that contains the policy template.
|
String |
policyTemplateId()
The ID of the policy template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetPolicyTemplateResponse.Builder> |
serializableBuilderClass() |
String |
statement()
The content of the body of the policy template written in the Cedar policy language.
|
GetPolicyTemplateResponse.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 template.
public final String policyTemplateId()
The ID of the policy template.
public final String description()
The description of the policy template.
public final String statement()
The content of the body of the policy template written in the Cedar policy language.
public final Instant createdDate()
The date and time that the policy template was originally created.
public final Instant lastUpdatedDate()
The date and time that the policy template was most recently updated.
public GetPolicyTemplateResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetPolicyTemplateResponse.Builder,GetPolicyTemplateResponse>toBuilder in class AwsResponsepublic static GetPolicyTemplateResponse.Builder builder()
public static Class<? extends GetPolicyTemplateResponse.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.