@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessPolicyDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details about an OpenSearch Serverless access policy.
Constructor and Description |
---|
AccessPolicyDetail() |
Modifier and Type | Method and Description |
---|---|
AccessPolicyDetail |
clone() |
boolean |
equals(Object obj) |
Long |
getCreatedDate()
The date the policy was created.
|
String |
getDescription()
The description of the policy.
|
Long |
getLastModifiedDate()
The timestamp of when the policy was last modified.
|
String |
getName()
The name of the 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 date the policy was created.
|
void |
setDescription(String description)
The description of the policy.
|
void |
setLastModifiedDate(Long lastModifiedDate)
The timestamp of when the policy was last modified.
|
void |
setName(String name)
The name of the 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.
|
AccessPolicyDetail |
withCreatedDate(Long createdDate)
The date the policy was created.
|
AccessPolicyDetail |
withDescription(String description)
The description of the policy.
|
AccessPolicyDetail |
withLastModifiedDate(Long lastModifiedDate)
The timestamp of when the policy was last modified.
|
AccessPolicyDetail |
withName(String name)
The name of the policy.
|
AccessPolicyDetail |
withPolicyVersion(String policyVersion)
The version of the policy.
|
AccessPolicyDetail |
withType(AccessPolicyType type)
The type of access policy.
|
AccessPolicyDetail |
withType(String type)
The type of access policy.
|
public void setCreatedDate(Long createdDate)
The date the policy was created.
createdDate
- The date the policy was created.public Long getCreatedDate()
The date the policy was created.
public AccessPolicyDetail withCreatedDate(Long createdDate)
The date the policy was created.
createdDate
- The date the policy was created.public void setDescription(String description)
The description of the policy.
description
- The description of the policy.public String getDescription()
The description of the policy.
public AccessPolicyDetail withDescription(String description)
The description of the policy.
description
- The description of the policy.public void setLastModifiedDate(Long lastModifiedDate)
The timestamp of when the policy was last modified.
lastModifiedDate
- The timestamp of when the policy was last modified.public Long getLastModifiedDate()
The timestamp of when the policy was last modified.
public AccessPolicyDetail withLastModifiedDate(Long lastModifiedDate)
The timestamp of when the policy was last modified.
lastModifiedDate
- The timestamp of when the policy was last modified.public void setName(String name)
The name of the policy.
name
- The name of the policy.public String getName()
The name of the policy.
public AccessPolicyDetail withName(String name)
The name of the policy.
name
- The name of the 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 AccessPolicyDetail withPolicyVersion(String policyVersion)
The version of the policy.
policyVersion
- The version of the policy.public void setType(String type)
The type of access policy.
type
- The type of access policy.AccessPolicyType
public String getType()
The type of access policy.
AccessPolicyType
public AccessPolicyDetail withType(String type)
The type of access policy.
type
- The type of access policy.AccessPolicyType
public AccessPolicyDetail withType(AccessPolicyType type)
The type of access policy.
type
- The type of access policy.AccessPolicyType
public String toString()
toString
in class Object
Object.toString()
public AccessPolicyDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.