@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessPolicySummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of the data access policy.
Constructor and Description |
---|
AccessPolicySummary() |
Modifier and Type | Method and Description |
---|---|
AccessPolicySummary |
clone() |
boolean |
equals(Object obj) |
Long |
getCreatedDate()
The Epoch time when the access policy was created.
|
String |
getDescription()
The description of the access policy.
|
Long |
getLastModifiedDate()
The date and time when the collection was last modified.
|
String |
getName()
The name of the access policy.
|
String |
getPolicyVersion()
The version of the policy.
|
String |
getType()
The type of access policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedDate(Long createdDate)
The Epoch time when the access policy was created.
|
void |
setDescription(String description)
The description of the access policy.
|
void |
setLastModifiedDate(Long lastModifiedDate)
The date and time when the collection was last modified.
|
void |
setName(String name)
The name of the access policy.
|
void |
setPolicyVersion(String policyVersion)
The version of the policy.
|
void |
setType(String type)
The type of access policy.
|
String |
toString()
Returns a string representation of this object.
|
AccessPolicySummary |
withCreatedDate(Long createdDate)
The Epoch time when the access policy was created.
|
AccessPolicySummary |
withDescription(String description)
The description of the access policy.
|
AccessPolicySummary |
withLastModifiedDate(Long lastModifiedDate)
The date and time when the collection was last modified.
|
AccessPolicySummary |
withName(String name)
The name of the access policy.
|
AccessPolicySummary |
withPolicyVersion(String policyVersion)
The version of the policy.
|
AccessPolicySummary |
withType(AccessPolicyType type)
The type of access policy.
|
AccessPolicySummary |
withType(String type)
The type of access policy.
|
public void setCreatedDate(Long createdDate)
The Epoch time when the access policy was created.
createdDate
- The Epoch time when the access policy was created.public Long getCreatedDate()
The Epoch time when the access policy was created.
public AccessPolicySummary withCreatedDate(Long createdDate)
The Epoch time when the access policy was created.
createdDate
- The Epoch time when the access policy was created.public void setDescription(String description)
The description of the access policy.
description
- The description of the access policy.public String getDescription()
The description of the access policy.
public AccessPolicySummary withDescription(String description)
The description of the access policy.
description
- The description of the access policy.public void setLastModifiedDate(Long lastModifiedDate)
The date and time when the collection was last modified.
lastModifiedDate
- The date and time when the collection was last modified.public Long getLastModifiedDate()
The date and time when the collection was last modified.
public AccessPolicySummary withLastModifiedDate(Long lastModifiedDate)
The date and time when the collection was last modified.
lastModifiedDate
- The date and time when the collection was last modified.public void setName(String name)
The name of the access policy.
name
- The name of the access policy.public String getName()
The name of the access policy.
public AccessPolicySummary withName(String name)
The name of the access policy.
name
- The name of the access policy.public void setPolicyVersion(String policyVersion)
The version of the policy.
policyVersion
- The version of the policy.public String getPolicyVersion()
The version of the policy.
public AccessPolicySummary withPolicyVersion(String policyVersion)
The version of the policy.
policyVersion
- The version of the policy.public void setType(String type)
The type of access policy. Currently, the only available type is data
.
type
- The type of access policy. Currently, the only available type is data
.AccessPolicyType
public String getType()
The type of access policy. Currently, the only available type is data
.
data
.AccessPolicyType
public AccessPolicySummary withType(String type)
The type of access policy. Currently, the only available type is data
.
type
- The type of access policy. Currently, the only available type is data
.AccessPolicyType
public AccessPolicySummary withType(AccessPolicyType type)
The type of access policy. Currently, the only available type is data
.
type
- The type of access policy. Currently, the only available type is data
.AccessPolicyType
public String toString()
toString
in class Object
Object.toString()
public AccessPolicySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.