Interface StackRefactorAction.Builder

    • Method Detail

      • entity

        StackRefactorAction.Builder entity​(String entity)

        The type that will be evaluated in the StackRefactorAction. The following are potential Entity types:

        • Stack

        • Resource

        Parameters:
        entity - The type that will be evaluated in the StackRefactorAction. The following are potential Entity types:

        • Stack

        • Resource

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

        StackRefactorAction.Builder physicalResourceId​(String physicalResourceId)

        The name or unique identifier associated with the physical instance of the resource.

        Parameters:
        physicalResourceId - The name or unique identifier associated with the physical instance of the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceIdentifier

        StackRefactorAction.Builder resourceIdentifier​(String resourceIdentifier)

        A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket).

        Parameters:
        resourceIdentifier - A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        StackRefactorAction.Builder description​(String description)

        A description to help you identify the refactor.

        Parameters:
        description - A description to help you identify the refactor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • detection

        StackRefactorAction.Builder detection​(String detection)

        The detection type is one of the following:

        • Auto: CloudFormation figured out the mapping on its own.

        • Manual: The customer provided the mapping in the ResourceMapping parameter.

        Parameters:
        detection - The detection type is one of the following:

        • Auto: CloudFormation figured out the mapping on its own.

        • Manual: The customer provided the mapping in the ResourceMapping parameter.

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

        StackRefactorAction.Builder detection​(StackRefactorDetection detection)

        The detection type is one of the following:

        • Auto: CloudFormation figured out the mapping on its own.

        • Manual: The customer provided the mapping in the ResourceMapping parameter.

        Parameters:
        detection - The detection type is one of the following:

        • Auto: CloudFormation figured out the mapping on its own.

        • Manual: The customer provided the mapping in the ResourceMapping parameter.

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

        StackRefactorAction.Builder detectionReason​(String detectionReason)

        The description of the detection type.

        Parameters:
        detectionReason - The description of the detection type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagResources

        StackRefactorAction.Builder tagResources​(Collection<Tag> tagResources)

        Assigns one or more tags to specified resources.

        Parameters:
        tagResources - Assigns one or more tags to specified resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagResources

        StackRefactorAction.Builder tagResources​(Tag... tagResources)

        Assigns one or more tags to specified resources.

        Parameters:
        tagResources - Assigns one or more tags to specified resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagResources

        StackRefactorAction.Builder tagResources​(Consumer<Tag.Builder>... tagResources)

        Assigns one or more tags to specified resources.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tagResources(List).

        Parameters:
        tagResources - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tagResources(java.util.Collection)
      • untagResources

        StackRefactorAction.Builder untagResources​(Collection<String> untagResources)

        Removes one or more tags to specified resources.

        Parameters:
        untagResources - Removes one or more tags to specified resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • untagResources

        StackRefactorAction.Builder untagResources​(String... untagResources)

        Removes one or more tags to specified resources.

        Parameters:
        untagResources - Removes one or more tags to specified resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceMapping

        StackRefactorAction.Builder resourceMapping​(ResourceMapping resourceMapping)

        The mapping for the stack resource Source and stack resource Destination.

        Parameters:
        resourceMapping - The mapping for the stack resource Source and stack resource Destination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.