@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicyResourceIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
The unique identifiers of policy types and resource names.
| Constructor and Description |
|---|
LifecyclePolicyResourceIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
LifecyclePolicyResourceIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getResource()
The name of the OpenSearch Serverless ilndex resource.
|
String |
getType()
The type of lifecycle policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setResource(String resource)
The name of the OpenSearch Serverless ilndex resource.
|
void |
setType(String type)
The type of lifecycle policy.
|
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicyResourceIdentifier |
withResource(String resource)
The name of the OpenSearch Serverless ilndex resource.
|
LifecyclePolicyResourceIdentifier |
withType(LifecyclePolicyType type)
The type of lifecycle policy.
|
LifecyclePolicyResourceIdentifier |
withType(String type)
The type of lifecycle policy.
|
public void setResource(String resource)
The name of the OpenSearch Serverless ilndex resource.
resource - The name of the OpenSearch Serverless ilndex resource.public String getResource()
The name of the OpenSearch Serverless ilndex resource.
public LifecyclePolicyResourceIdentifier withResource(String resource)
The name of the OpenSearch Serverless ilndex resource.
resource - The name of the OpenSearch Serverless ilndex resource.public void setType(String type)
The type of lifecycle policy.
type - The type of lifecycle policy.LifecyclePolicyTypepublic String getType()
The type of lifecycle policy.
LifecyclePolicyTypepublic LifecyclePolicyResourceIdentifier withType(String type)
The type of lifecycle policy.
type - The type of lifecycle policy.LifecyclePolicyTypepublic LifecyclePolicyResourceIdentifier withType(LifecyclePolicyType type)
The type of lifecycle policy.
type - The type of lifecycle policy.LifecyclePolicyTypepublic String toString()
toString in class ObjectObject.toString()public LifecyclePolicyResourceIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.