Interface ResourceTargetDefinition.Builder

    • Method Detail

      • attribute

        ResourceTargetDefinition.Builder attribute​(String attribute)

        Indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags.

        Parameters:
        attribute - Indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceAttribute, ResourceAttribute
      • attribute

        ResourceTargetDefinition.Builder attribute​(ResourceAttribute attribute)

        Indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags.

        Parameters:
        attribute - Indicates which resource attribute is triggering this update, such as a change in the resource attribute's Metadata, Properties, or Tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceAttribute, ResourceAttribute
      • name

        ResourceTargetDefinition.Builder name​(String name)

        If the Attribute value is Properties, the name of the property. For all other attributes, the value is null.

        Parameters:
        name - If the Attribute value is Properties, the name of the property. For all other attributes, the value is null.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requiresRecreation

        ResourceTargetDefinition.Builder requiresRecreation​(String requiresRecreation)

        If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the Amazon Web Services resource and property types reference in the CloudFormation User Guide.

        Parameters:
        requiresRecreation - If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always , or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the Amazon Web Services resource and property types reference in the CloudFormation User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RequiresRecreation, RequiresRecreation
      • requiresRecreation

        ResourceTargetDefinition.Builder requiresRecreation​(RequiresRecreation requiresRecreation)

        If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always, or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the Amazon Web Services resource and property types reference in the CloudFormation User Guide.

        Parameters:
        requiresRecreation - If the Attribute value is Properties, indicates whether a change to this property causes the resource to be recreated. The value can be Never, Always , or Conditionally. To determine the conditions for a Conditionally recreation, see the update behavior for that property in the Amazon Web Services resource and property types reference in the CloudFormation User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RequiresRecreation, RequiresRecreation
      • path

        ResourceTargetDefinition.Builder path​(String path)

        The property path of the property.

        Parameters:
        path - The property path of the property.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • beforeValue

        ResourceTargetDefinition.Builder beforeValue​(String beforeValue)

        The value of the property before the change is executed. Large values can be truncated.

        Parameters:
        beforeValue - The value of the property before the change is executed. Large values can be truncated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • afterValue

        ResourceTargetDefinition.Builder afterValue​(String afterValue)

        The value of the property after the change is executed. Large values can be truncated.

        Parameters:
        afterValue - The value of the property after the change is executed. Large values can be truncated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • beforeValueFrom

        ResourceTargetDefinition.Builder beforeValueFrom​(String beforeValueFrom)

        Indicates the source of the before value. Valid values:

        • ACTUAL_STATE – The before value represents current actual state.

        • PREVIOUS_DEPLOYMENT_STATE – The before value represents the previous CloudFormation deployment state.

        Only present for drift-aware change sets.

        Parameters:
        beforeValueFrom - Indicates the source of the before value. Valid values:

        • ACTUAL_STATE – The before value represents current actual state.

        • PREVIOUS_DEPLOYMENT_STATE – The before value represents the previous CloudFormation deployment state.

        Only present for drift-aware change sets.

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

        ResourceTargetDefinition.Builder beforeValueFrom​(BeforeValueFrom beforeValueFrom)

        Indicates the source of the before value. Valid values:

        • ACTUAL_STATE – The before value represents current actual state.

        • PREVIOUS_DEPLOYMENT_STATE – The before value represents the previous CloudFormation deployment state.

        Only present for drift-aware change sets.

        Parameters:
        beforeValueFrom - Indicates the source of the before value. Valid values:

        • ACTUAL_STATE – The before value represents current actual state.

        • PREVIOUS_DEPLOYMENT_STATE – The before value represents the previous CloudFormation deployment state.

        Only present for drift-aware change sets.

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

        ResourceTargetDefinition.Builder afterValueFrom​(String afterValueFrom)

        Indicates the source of the after value. Valid value:

        • TEMPLATE – The after value comes from the new template.

        Only present for drift-aware change sets.

        Parameters:
        afterValueFrom - Indicates the source of the after value. Valid value:

        • TEMPLATE – The after value comes from the new template.

        Only present for drift-aware change sets.

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

        ResourceTargetDefinition.Builder afterValueFrom​(AfterValueFrom afterValueFrom)

        Indicates the source of the after value. Valid value:

        • TEMPLATE – The after value comes from the new template.

        Only present for drift-aware change sets.

        Parameters:
        afterValueFrom - Indicates the source of the after value. Valid value:

        • TEMPLATE – The after value comes from the new template.

        Only present for drift-aware change sets.

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

        ResourceTargetDefinition.Builder drift​(LiveResourceDrift drift)

        Detailed drift information for the resource property, including actual values, previous deployment values, and drift detection timestamps.

        Parameters:
        drift - Detailed drift information for the resource property, including actual values, previous deployment values, and drift detection timestamps.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributeChangeType

        ResourceTargetDefinition.Builder attributeChangeType​(String attributeChangeType)

        The type of change to be made to the property if the change is executed.

        • Add The item will be added.

        • Remove The item will be removed.

        • Modify The item will be modified.

        • SyncWithActual The drift status of this item will be reset but the item will not be modified.

        Parameters:
        attributeChangeType - The type of change to be made to the property if the change is executed.

        • Add The item will be added.

        • Remove The item will be removed.

        • Modify The item will be modified.

        • SyncWithActual The drift status of this item will be reset but the item will not be modified.

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

        ResourceTargetDefinition.Builder attributeChangeType​(AttributeChangeType attributeChangeType)

        The type of change to be made to the property if the change is executed.

        • Add The item will be added.

        • Remove The item will be removed.

        • Modify The item will be modified.

        • SyncWithActual The drift status of this item will be reset but the item will not be modified.

        Parameters:
        attributeChangeType - The type of change to be made to the property if the change is executed.

        • Add The item will be added.

        • Remove The item will be removed.

        • Modify The item will be modified.

        • SyncWithActual The drift status of this item will be reset but the item will not be modified.

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