@Generated(value="software.amazon.awssdk:codegen") public final class PolicyTemplateItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PolicyTemplateItem.Builder,PolicyTemplateItem>
Contains details about a policy template
This data type is used as a response parameter for the ListPolicyTemplates operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PolicyTemplateItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PolicyTemplateItem.Builder |
builder() |
Instant |
createdDate()
The date and time that the policy template was created.
|
String |
description()
The description attached to 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 unique identifier of the policy store that contains the template.
|
String |
policyTemplateId()
The unique identifier of the policy template.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PolicyTemplateItem.Builder> |
serializableBuilderClass() |
PolicyTemplateItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String policyStoreId()
The unique identifier of the policy store that contains the template.
public final String policyTemplateId()
The unique identifier of the policy template.
public final String description()
The description attached to the policy template.
public final Instant createdDate()
The date and time that the policy template was created.
public final Instant lastUpdatedDate()
The date and time that the policy template was most recently updated.
public PolicyTemplateItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PolicyTemplateItem.Builder,PolicyTemplateItem>public static PolicyTemplateItem.Builder builder()
public static Class<? extends PolicyTemplateItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.