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