@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPolicyTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetPolicyTemplateResult() |
Modifier and Type | Method and Description |
---|---|
GetPolicyTemplateResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date and time that the policy template was originally created.
|
String |
getDescription()
The description of the policy template.
|
Date |
getLastUpdatedDate()
The date and time that the policy template was most recently updated.
|
String |
getPolicyStoreId()
The ID of the policy store that contains the policy template.
|
String |
getPolicyTemplateId()
The ID of the policy template.
|
String |
getStatement()
The content of the body of the policy template written in the Cedar policy language.
|
int |
hashCode() |
void |
setCreatedDate(Date createdDate)
The date and time that the policy template was originally created.
|
void |
setDescription(String description)
The description of the policy template.
|
void |
setLastUpdatedDate(Date lastUpdatedDate)
The date and time that the policy template was most recently updated.
|
void |
setPolicyStoreId(String policyStoreId)
The ID of the policy store that contains the policy template.
|
void |
setPolicyTemplateId(String policyTemplateId)
The ID of the policy template.
|
void |
setStatement(String statement)
The content of the body of the policy template written in the Cedar policy language.
|
String |
toString()
Returns a string representation of this object.
|
GetPolicyTemplateResult |
withCreatedDate(Date createdDate)
The date and time that the policy template was originally created.
|
GetPolicyTemplateResult |
withDescription(String description)
The description of the policy template.
|
GetPolicyTemplateResult |
withLastUpdatedDate(Date lastUpdatedDate)
The date and time that the policy template was most recently updated.
|
GetPolicyTemplateResult |
withPolicyStoreId(String policyStoreId)
The ID of the policy store that contains the policy template.
|
GetPolicyTemplateResult |
withPolicyTemplateId(String policyTemplateId)
The ID of the policy template.
|
GetPolicyTemplateResult |
withStatement(String statement)
The content of the body of the policy template written in the Cedar policy language.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicyStoreId(String policyStoreId)
The ID of the policy store that contains the policy template.
policyStoreId
- The ID of the policy store that contains the policy template.public String getPolicyStoreId()
The ID of the policy store that contains the policy template.
public GetPolicyTemplateResult withPolicyStoreId(String policyStoreId)
The ID of the policy store that contains the policy template.
policyStoreId
- The ID of the policy store that contains the policy template.public void setPolicyTemplateId(String policyTemplateId)
The ID of the policy template.
policyTemplateId
- The ID of the policy template.public String getPolicyTemplateId()
The ID of the policy template.
public GetPolicyTemplateResult withPolicyTemplateId(String policyTemplateId)
The ID of the policy template.
policyTemplateId
- The ID of the policy template.public void setDescription(String description)
The description of the policy template.
description
- The description of the policy template.public String getDescription()
The description of the policy template.
public GetPolicyTemplateResult withDescription(String description)
The description of the policy template.
description
- The description of the policy template.public void setStatement(String statement)
The content of the body of the policy template written in the Cedar policy language.
statement
- The content of the body of the policy template written in the Cedar policy language.public String getStatement()
The content of the body of the policy template written in the Cedar policy language.
public GetPolicyTemplateResult withStatement(String statement)
The content of the body of the policy template written in the Cedar policy language.
statement
- The content of the body of the policy template written in the Cedar policy language.public void setCreatedDate(Date createdDate)
The date and time that the policy template was originally created.
createdDate
- The date and time that the policy template was originally created.public Date getCreatedDate()
The date and time that the policy template was originally created.
public GetPolicyTemplateResult withCreatedDate(Date createdDate)
The date and time that the policy template was originally created.
createdDate
- The date and time that the policy template was originally 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 GetPolicyTemplateResult 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 GetPolicyTemplateResult clone()