Interface GetLifecyclePoliciesRequest.Builder

    • Method Detail

      • policyIds

        GetLifecyclePoliciesRequest.Builder policyIds​(Collection<String> 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

        GetLifecyclePoliciesRequest.Builder policyIds​(String... 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.
      • 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.
      • targetTags

        GetLifecyclePoliciesRequest.Builder targetTags​(Collection<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.
      • 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

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

        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

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

        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:
        DefaultPoliciesTypeValues, DefaultPoliciesTypeValues
      • 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:
        DefaultPoliciesTypeValues, DefaultPoliciesTypeValues