@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyTemplateItem extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about a policy template
This data type is used as a response parameter for the ListPolicyTemplates operation.
Constructor and Description |
---|
PolicyTemplateItem() |
Modifier and Type | Method and Description |
---|---|
PolicyTemplateItem |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date and time that the policy template was created.
|
String |
getDescription()
The description attached to the policy template.
|
Date |
getLastUpdatedDate()
The date and time that the policy template was most recently updated.
|
String |
getPolicyStoreId()
The unique identifier of the policy store that contains the template.
|
String |
getPolicyTemplateId()
The unique identifier of the policy template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedDate(Date createdDate)
The date and time that the policy template was created.
|
void |
setDescription(String description)
The description attached to the policy template.
|
void |
setLastUpdatedDate(Date lastUpdatedDate)
The date and time that the policy template was most recently updated.
|
void |
setPolicyStoreId(String policyStoreId)
The unique identifier of the policy store that contains the template.
|
void |
setPolicyTemplateId(String policyTemplateId)
The unique identifier of the policy template.
|
String |
toString()
Returns a string representation of this object.
|
PolicyTemplateItem |
withCreatedDate(Date createdDate)
The date and time that the policy template was created.
|
PolicyTemplateItem |
withDescription(String description)
The description attached to the policy template.
|
PolicyTemplateItem |
withLastUpdatedDate(Date lastUpdatedDate)
The date and time that the policy template was most recently updated.
|
PolicyTemplateItem |
withPolicyStoreId(String policyStoreId)
The unique identifier of the policy store that contains the template.
|
PolicyTemplateItem |
withPolicyTemplateId(String policyTemplateId)
The unique identifier of the policy template.
|
public void setPolicyStoreId(String policyStoreId)
The unique identifier of the policy store that contains the template.
policyStoreId
- The unique identifier of the policy store that contains the template.public String getPolicyStoreId()
The unique identifier of the policy store that contains the template.
public PolicyTemplateItem withPolicyStoreId(String policyStoreId)
The unique identifier of the policy store that contains the template.
policyStoreId
- The unique identifier of the policy store that contains the template.public void setPolicyTemplateId(String policyTemplateId)
The unique identifier of the policy template.
policyTemplateId
- The unique identifier of the policy template.public String getPolicyTemplateId()
The unique identifier of the policy template.
public PolicyTemplateItem withPolicyTemplateId(String policyTemplateId)
The unique identifier of the policy template.
policyTemplateId
- The unique identifier of the policy template.public void setDescription(String description)
The description attached to the policy template.
description
- The description attached to the policy template.public String getDescription()
The description attached to the policy template.
public PolicyTemplateItem withDescription(String description)
The description attached to the policy template.
description
- The description attached to the policy template.public void setCreatedDate(Date createdDate)
The date and time that the policy template was created.
createdDate
- The date and time that the policy template was created.public Date getCreatedDate()
The date and time that the policy template was created.
public PolicyTemplateItem withCreatedDate(Date createdDate)
The date and time that the policy template was created.
createdDate
- The date and time that the policy template was created.public void setLastUpdatedDate(Date lastUpdatedDate)
The date and time that the policy template was most recently updated.
lastUpdatedDate
- The date and time that the policy template was most recently updated.public Date getLastUpdatedDate()
The date and time that the policy template was most recently updated.
public PolicyTemplateItem withLastUpdatedDate(Date lastUpdatedDate)
The date and time that the policy template was most recently updated.
lastUpdatedDate
- The date and time that the policy template was most recently updated.public String toString()
toString
in class Object
Object.toString()
public PolicyTemplateItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.