Interface Change.Builder

    • Method Detail

      • changeType

        Change.Builder changeType​(String changeType)

        Change types are single string values that describe your intention for the change. Each change type is unique for each EntityType provided in the change's scope. For more information on change types available for single-AMI products, see Working with single-AMI products. Also, for more information about change types available for container-based products, see Working with container products.

        Parameters:
        changeType - Change types are single string values that describe your intention for the change. Each change type is unique for each EntityType provided in the change's scope. For more information on change types available for single-AMI products, see Working with single-AMI products. Also, for more information about change types available for container-based products, see Working with container products.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • entity

        Change.Builder entity​(Entity entity)

        The entity to be changed.

        Parameters:
        entity - The entity to be changed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • entityTags

        Change.Builder entityTags​(Collection<Tag> entityTags)

        The tags associated with the change.

        Parameters:
        entityTags - The tags associated with the change.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • entityTags

        Change.Builder entityTags​(Tag... entityTags)

        The tags associated with the change.

        Parameters:
        entityTags - The tags associated with the change.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • entityTags

        Change.Builder entityTags​(Consumer<Tag.Builder>... entityTags)

        The tags associated with the change.

        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 #entityTags(List).

        Parameters:
        entityTags - 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:
        #entityTags(java.util.Collection)
      • details

        Change.Builder details​(String details)

        This object contains details specific to the change type of the requested change. For more information about change types available for single-AMI products, see Working with single-AMI products. Also, for more information about change types available for container-based products, see Working with container products.

        Parameters:
        details - This object contains details specific to the change type of the requested change. For more information about change types available for single-AMI products, see Working with single-AMI products. Also, for more information about change types available for container-based products, see Working with container products.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • detailsDocument

        Change.Builder detailsDocument​(Document detailsDocument)

        Alternative field that accepts a JSON value instead of a string for ChangeType details. You can use either Details or DetailsDocument, but not both.

        Parameters:
        detailsDocument - Alternative field that accepts a JSON value instead of a string for ChangeType details. You can use either Details or DetailsDocument, but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • changeName

        Change.Builder changeName​(String changeName)

        Optional name for the change.

        Parameters:
        changeName - Optional name for the change.
        Returns:
        Returns a reference to this object so that method calls can be chained together.