Interface GetLifecyclePoliciesRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<GetLifecyclePoliciesRequest.Builder,GetLifecyclePoliciesRequest>, DlmRequest.Builder, SdkBuilder<GetLifecyclePoliciesRequest.Builder,GetLifecyclePoliciesRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GetLifecyclePoliciesRequest

public static interface GetLifecyclePoliciesRequest.Builder extends DlmRequest.Builder, SdkPojo, CopyableBuilder<GetLifecyclePoliciesRequest.Builder,GetLifecyclePoliciesRequest>
  • Method Details

    • policyIds

      The identifiers of the data lifecycle policies.

      Parameters:
      policyIds - The identifiers of the data lifecycle policies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyIds

      The identifiers of the data lifecycle policies.

      Parameters:
      policyIds - The identifiers of the data lifecycle policies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The activation state.

      Parameters:
      state - The activation state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The activation state.

      Parameters:
      state - The activation state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceTypesWithStrings

      GetLifecyclePoliciesRequest.Builder resourceTypesWithStrings(Collection<String> resourceTypes)

      The resource type.

      Parameters:
      resourceTypes - The resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTypesWithStrings

      GetLifecyclePoliciesRequest.Builder resourceTypesWithStrings(String... resourceTypes)

      The resource type.

      Parameters:
      resourceTypes - The resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTypes

      The resource type.

      Parameters:
      resourceTypes - The resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceTypes

      The resource type.

      Parameters:
      resourceTypes - The resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetTags

      The target tag for a policy.

      Tags are strings in the format key=value.

      Parameters:
      targetTags - The target tag for a policy.

      Tags are strings in the format key=value.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetTags

      GetLifecyclePoliciesRequest.Builder targetTags(String... targetTags)

      The target tag for a policy.

      Tags are strings in the format key=value.

      Parameters:
      targetTags - The target tag for a policy.

      Tags are strings in the format key=value.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultPolicyType

      GetLifecyclePoliciesRequest.Builder defaultPolicyType(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

      Parameters:
      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

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • defaultPolicyType

      GetLifecyclePoliciesRequest.Builder defaultPolicyType(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

      Parameters:
      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

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      GetLifecyclePoliciesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.