Class PolicyTemplateItem
- java.lang.Object
-
- software.amazon.awssdk.services.verifiedpermissions.model.PolicyTemplateItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PolicyTemplateItem.Builder,PolicyTemplateItem>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePolicyTemplateItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolicyTemplateItem.Builderbuilder()InstantcreatedDate()The date and time that the policy template was created.Stringdescription()The description attached to the policy template.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedDate()The date and time that the policy template was most recently updated.StringpolicyStoreId()The unique identifier of the policy store that contains the template.StringpolicyTemplateId()The unique identifier of the policy template.List<SdkField<?>>sdkFields()static Class<? extends PolicyTemplateItem.Builder>serializableBuilderClass()PolicyTemplateItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
policyStoreId
public final String policyStoreId()
The unique identifier of the policy store that contains the template.
- Returns:
- The unique identifier of the policy store that contains the template.
-
policyTemplateId
public final String policyTemplateId()
The unique identifier of the policy template.
- Returns:
- The unique identifier of the policy template.
-
description
public final String description()
The description attached to the policy template.
- Returns:
- The description attached to the policy template.
-
createdDate
public final Instant createdDate()
The date and time that the policy template was created.
- Returns:
- The date and time that the policy template was created.
-
lastUpdatedDate
public final Instant lastUpdatedDate()
The date and time that the policy template was most recently updated.
- Returns:
- The date and time that the policy template was most recently updated.
-
toBuilder
public PolicyTemplateItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PolicyTemplateItem.Builder,PolicyTemplateItem>
-
builder
public static PolicyTemplateItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends PolicyTemplateItem.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-