Interface ResourceTargetDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceTargetDefinition.Builder,ResourceTargetDefinition>,SdkBuilder<ResourceTargetDefinition.Builder,ResourceTargetDefinition>,SdkPojo
- Enclosing class:
- ResourceTargetDefinition
@Mutable @NotThreadSafe public static interface ResourceTargetDefinition.Builder extends SdkPojo, CopyableBuilder<ResourceTargetDefinition.Builder,ResourceTargetDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ResourceTargetDefinition.BuilderafterValue(String afterValue)The value of the property after the change is executed.ResourceTargetDefinition.BuilderafterValueFrom(String afterValueFrom)Indicates the source of the after value.ResourceTargetDefinition.BuilderafterValueFrom(AfterValueFrom afterValueFrom)Indicates the source of the after value.ResourceTargetDefinition.Builderattribute(String attribute)Indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata,Properties, orTags.ResourceTargetDefinition.Builderattribute(ResourceAttribute attribute)Indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata,Properties, orTags.ResourceTargetDefinition.BuilderattributeChangeType(String attributeChangeType)The type of change to be made to the property if the change is executed.ResourceTargetDefinition.BuilderattributeChangeType(AttributeChangeType attributeChangeType)The type of change to be made to the property if the change is executed.ResourceTargetDefinition.BuilderbeforeValue(String beforeValue)The value of the property before the change is executed.ResourceTargetDefinition.BuilderbeforeValueFrom(String beforeValueFrom)Indicates the source of the before value.ResourceTargetDefinition.BuilderbeforeValueFrom(BeforeValueFrom beforeValueFrom)Indicates the source of the before value.default ResourceTargetDefinition.Builderdrift(Consumer<LiveResourceDrift.Builder> drift)Detailed drift information for the resource property, including actual values, previous deployment values, and drift detection timestamps.ResourceTargetDefinition.Builderdrift(LiveResourceDrift drift)Detailed drift information for the resource property, including actual values, previous deployment values, and drift detection timestamps.ResourceTargetDefinition.Buildername(String name)If theAttributevalue isProperties, the name of the property.ResourceTargetDefinition.Builderpath(String path)The property path of the property.ResourceTargetDefinition.BuilderrequiresRecreation(String requiresRecreation)If theAttributevalue isProperties, indicates whether a change to this property causes the resource to be recreated.ResourceTargetDefinition.BuilderrequiresRecreation(RequiresRecreation requiresRecreation)If theAttributevalue isProperties, indicates whether a change to this property causes the resource to be recreated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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, orTags.- Parameters:
attribute- Indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata,Properties, orTags.- 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, orTags.- Parameters:
attribute- Indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata,Properties, orTags.- 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
Attributevalue isProperties, the name of the property. For all other attributes, the value is null.- Parameters:
name- If theAttributevalue isProperties, 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
Attributevalue isProperties, indicates whether a change to this property causes the resource to be recreated. The value can beNever,Always, orConditionally. To determine the conditions for aConditionallyrecreation, 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 theAttributevalue isProperties, indicates whether a change to this property causes the resource to be recreated. The value can beNever,Always, orConditionally. To determine the conditions for aConditionallyrecreation, 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
Attributevalue isProperties, indicates whether a change to this property causes the resource to be recreated. The value can beNever,Always, orConditionally. To determine the conditions for aConditionallyrecreation, 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 theAttributevalue isProperties, indicates whether a change to this property causes the resource to be recreated. The value can beNever,Always, orConditionally. To determine the conditions for aConditionallyrecreation, 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.
-
drift
default ResourceTargetDefinition.Builder drift(Consumer<LiveResourceDrift.Builder> drift)
Detailed drift information for the resource property, including actual values, previous deployment values, and drift detection timestamps.
This is a convenience method that creates an instance of theLiveResourceDrift.Builderavoiding the need to create one manually viaLiveResourceDrift.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todrift(LiveResourceDrift).- Parameters:
drift- a consumer that will call methods onLiveResourceDrift.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
drift(LiveResourceDrift)
-
attributeChangeType
ResourceTargetDefinition.Builder attributeChangeType(String attributeChangeType)
The type of change to be made to the property if the change is executed.
-
AddThe item will be added. -
RemoveThe item will be removed. -
ModifyThe item will be modified. -
SyncWithActualThe 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.-
AddThe item will be added. -
RemoveThe item will be removed. -
ModifyThe item will be modified. -
SyncWithActualThe 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.
-
AddThe item will be added. -
RemoveThe item will be removed. -
ModifyThe item will be modified. -
SyncWithActualThe 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.-
AddThe item will be added. -
RemoveThe item will be removed. -
ModifyThe item will be modified. -
SyncWithActualThe 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
-
-
-