@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLifecyclePoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetLifecyclePoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
GetLifecyclePoliciesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getPolicyIds()
The identifiers of the data lifecycle policies.
|
List<String> |
getResourceTypes()
The resource type.
|
String |
getState()
The activation state.
|
List<String> |
getTagsToAdd()
The tags to add to objects created by the policy.
|
List<String> |
getTargetTags()
The target tag for a policy.
|
int |
hashCode() |
void |
setPolicyIds(Collection<String> policyIds)
The identifiers of the data lifecycle policies.
|
void |
setResourceTypes(Collection<String> resourceTypes)
The resource type.
|
void |
setState(String state)
The activation state.
|
void |
setTagsToAdd(Collection<String> tagsToAdd)
The tags to add to objects created by the policy.
|
void |
setTargetTags(Collection<String> targetTags)
The target tag for a policy.
|
String |
toString()
Returns a string representation of this object.
|
GetLifecyclePoliciesRequest |
withPolicyIds(Collection<String> policyIds)
The identifiers of the data lifecycle policies.
|
GetLifecyclePoliciesRequest |
withPolicyIds(String... policyIds)
The identifiers of the data lifecycle policies.
|
GetLifecyclePoliciesRequest |
withResourceTypes(Collection<String> resourceTypes)
The resource type.
|
GetLifecyclePoliciesRequest |
withResourceTypes(ResourceTypeValues... resourceTypes)
The resource type.
|
GetLifecyclePoliciesRequest |
withResourceTypes(String... resourceTypes)
The resource type.
|
GetLifecyclePoliciesRequest |
withState(GettablePolicyStateValues state)
The activation state.
|
GetLifecyclePoliciesRequest |
withState(String state)
The activation state.
|
GetLifecyclePoliciesRequest |
withTagsToAdd(Collection<String> tagsToAdd)
The tags to add to objects created by the policy.
|
GetLifecyclePoliciesRequest |
withTagsToAdd(String... tagsToAdd)
The tags to add to objects created by the policy.
|
GetLifecyclePoliciesRequest |
withTargetTags(Collection<String> targetTags)
The target tag for a policy.
|
GetLifecyclePoliciesRequest |
withTargetTags(String... targetTags)
The target tag for a policy.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getPolicyIds()
The identifiers of the data lifecycle policies.
public void setPolicyIds(Collection<String> policyIds)
The identifiers of the data lifecycle policies.
policyIds
- The identifiers of the data lifecycle policies.public GetLifecyclePoliciesRequest withPolicyIds(String... policyIds)
The identifiers of the data lifecycle policies.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyIds(java.util.Collection)
or withPolicyIds(java.util.Collection)
if you want to
override the existing values.
policyIds
- The identifiers of the data lifecycle policies.public GetLifecyclePoliciesRequest withPolicyIds(Collection<String> policyIds)
The identifiers of the data lifecycle policies.
policyIds
- The identifiers of the data lifecycle policies.public void setState(String state)
The activation state.
state
- The activation state.GettablePolicyStateValues
public String getState()
The activation state.
GettablePolicyStateValues
public GetLifecyclePoliciesRequest withState(String state)
The activation state.
state
- The activation state.GettablePolicyStateValues
public GetLifecyclePoliciesRequest withState(GettablePolicyStateValues state)
The activation state.
state
- The activation state.GettablePolicyStateValues
public List<String> getResourceTypes()
The resource type.
ResourceTypeValues
public void setResourceTypes(Collection<String> resourceTypes)
The resource type.
resourceTypes
- The resource type.ResourceTypeValues
public GetLifecyclePoliciesRequest withResourceTypes(String... resourceTypes)
The resource type.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTypes(java.util.Collection)
or withResourceTypes(java.util.Collection)
if you want
to override the existing values.
resourceTypes
- The resource type.ResourceTypeValues
public GetLifecyclePoliciesRequest withResourceTypes(Collection<String> resourceTypes)
The resource type.
resourceTypes
- The resource type.ResourceTypeValues
public GetLifecyclePoliciesRequest withResourceTypes(ResourceTypeValues... resourceTypes)
The resource type.
resourceTypes
- The resource type.ResourceTypeValues
public List<String> getTargetTags()
The target tag for a policy.
Tags are strings in the format key=value
.
Tags are strings in the format key=value
.
public void setTargetTags(Collection<String> targetTags)
The target tag for a policy.
Tags are strings in the format key=value
.
targetTags
- The target tag for a policy.
Tags are strings in the format key=value
.
public GetLifecyclePoliciesRequest withTargetTags(String... targetTags)
The target tag for a policy.
Tags are strings in the format key=value
.
NOTE: This method appends the values to the existing list (if any). Use
setTargetTags(java.util.Collection)
or withTargetTags(java.util.Collection)
if you want to
override the existing values.
targetTags
- The target tag for a policy.
Tags are strings in the format key=value
.
public GetLifecyclePoliciesRequest withTargetTags(Collection<String> targetTags)
The target tag for a policy.
Tags are strings in the format key=value
.
targetTags
- The target tag for a policy.
Tags are strings in the format key=value
.
public List<String> getTagsToAdd()
The tags to add to objects created by the policy.
Tags are strings in the format key=value
.
These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.
Tags are strings in the format key=value
.
These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.
public void setTagsToAdd(Collection<String> tagsToAdd)
The tags to add to objects created by the policy.
Tags are strings in the format key=value
.
These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.
tagsToAdd
- The tags to add to objects created by the policy.
Tags are strings in the format key=value
.
These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.
public GetLifecyclePoliciesRequest withTagsToAdd(String... tagsToAdd)
The tags to add to objects created by the policy.
Tags are strings in the format key=value
.
These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.
NOTE: This method appends the values to the existing list (if any). Use
setTagsToAdd(java.util.Collection)
or withTagsToAdd(java.util.Collection)
if you want to
override the existing values.
tagsToAdd
- The tags to add to objects created by the policy.
Tags are strings in the format key=value
.
These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.
public GetLifecyclePoliciesRequest withTagsToAdd(Collection<String> tagsToAdd)
The tags to add to objects created by the policy.
Tags are strings in the format key=value
.
These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.
tagsToAdd
- The tags to add to objects created by the policy.
Tags are strings in the format key=value
.
These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.
public String toString()
toString
in class Object
Object.toString()
public GetLifecyclePoliciesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()