@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) | 
| String | getDefaultPolicyType()
 [Default policies only] Specifies the type of default policy to get. | 
| 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 | setDefaultPolicyType(String defaultPolicyType)
 [Default policies only] Specifies the type of default policy to get. | 
| 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 | withDefaultPolicyType(DefaultPoliciesTypeValues defaultPolicyType)
 [Default policies only] Specifies the type of default policy to get. | 
| GetLifecyclePoliciesRequest | withDefaultPolicyType(String defaultPolicyType)
 [Default policies only] Specifies the type of default policy to get. | 
| 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, withSdkRequestTimeoutpublic 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.GettablePolicyStateValuespublic String getState()
The activation state.
GettablePolicyStateValuespublic GetLifecyclePoliciesRequest withState(String state)
The activation state.
state - The activation state.GettablePolicyStateValuespublic GetLifecyclePoliciesRequest withState(GettablePolicyStateValues state)
The activation state.
state - The activation state.GettablePolicyStateValuespublic List<String> getResourceTypes()
The resource type.
ResourceTypeValuespublic void setResourceTypes(Collection<String> resourceTypes)
The resource type.
resourceTypes - The resource type.ResourceTypeValuespublic 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.ResourceTypeValuespublic GetLifecyclePoliciesRequest withResourceTypes(Collection<String> resourceTypes)
The resource type.
resourceTypes - The resource type.ResourceTypeValuespublic GetLifecyclePoliciesRequest withResourceTypes(ResourceTypeValues... resourceTypes)
The resource type.
resourceTypes - The resource type.ResourceTypeValuespublic 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 void setDefaultPolicyType(String defaultPolicyType)
[Default policies only] Specifies the type of default policy to get. Specify one of the following:
 VOLUME - To get only the default policy for EBS snapshots
 
 INSTANCE - To get only the default policy for EBS-backed AMIs
 
 ALL - To get all default policies
 
defaultPolicyType - [Default policies only] Specifies the type of default policy to get. Specify one of the
        following:
        
        VOLUME - To get only the default policy for EBS snapshots
        
        INSTANCE - To get only the default policy for EBS-backed AMIs
        
        ALL - To get all default policies
        
DefaultPoliciesTypeValuespublic String getDefaultPolicyType()
[Default policies only] Specifies the type of default policy to get. Specify one of the following:
 VOLUME - To get only the default policy for EBS snapshots
 
 INSTANCE - To get only the default policy for EBS-backed AMIs
 
 ALL - To get all default policies
 
         VOLUME - To get only the default policy for EBS snapshots
         
         INSTANCE - To get only the default policy for EBS-backed AMIs
         
         ALL - To get all default policies
         
DefaultPoliciesTypeValuespublic GetLifecyclePoliciesRequest withDefaultPolicyType(String defaultPolicyType)
[Default policies only] Specifies the type of default policy to get. Specify one of the following:
 VOLUME - To get only the default policy for EBS snapshots
 
 INSTANCE - To get only the default policy for EBS-backed AMIs
 
 ALL - To get all default policies
 
defaultPolicyType - [Default policies only] Specifies the type of default policy to get. Specify one of the
        following:
        
        VOLUME - To get only the default policy for EBS snapshots
        
        INSTANCE - To get only the default policy for EBS-backed AMIs
        
        ALL - To get all default policies
        
DefaultPoliciesTypeValuespublic GetLifecyclePoliciesRequest withDefaultPolicyType(DefaultPoliciesTypeValues defaultPolicyType)
[Default policies only] Specifies the type of default policy to get. Specify one of the following:
 VOLUME - To get only the default policy for EBS snapshots
 
 INSTANCE - To get only the default policy for EBS-backed AMIs
 
 ALL - To get all default policies
 
defaultPolicyType - [Default policies only] Specifies the type of default policy to get. Specify one of the
        following:
        
        VOLUME - To get only the default policy for EBS snapshots
        
        INSTANCE - To get only the default policy for EBS-backed AMIs
        
        ALL - To get all default policies
        
DefaultPoliciesTypeValuespublic String toString()
toString in class ObjectObject.toString()public GetLifecyclePoliciesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()