Interface ResourceTargetDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceTargetDefinition.Builder,,ResourceTargetDefinition> SdkBuilder<ResourceTargetDefinition.Builder,,ResourceTargetDefinition> SdkPojo
- Enclosing class:
ResourceTargetDefinition
-
Method Summary
Modifier and TypeMethodDescriptionafterValue(String afterValue) The value of the property after the change is executed.afterValueFrom(String afterValueFrom) Indicates the source of the after value.afterValueFrom(AfterValueFrom afterValueFrom) Indicates the source of the after value.Indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata,Properties, orTags.attribute(ResourceAttribute attribute) Indicates which resource attribute is triggering this update, such as a change in the resource attribute'sMetadata,Properties, orTags.attributeChangeType(String attributeChangeType) The type of change to be made to the property if the change is executed.attributeChangeType(AttributeChangeType attributeChangeType) The type of change to be made to the property if the change is executed.beforeValue(String beforeValue) The value of the property before the change is executed.beforeValueFrom(String beforeValueFrom) Indicates the source of the before value.beforeValueFrom(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.drift(LiveResourceDrift drift) Detailed drift information for the resource property, including actual values, previous deployment values, and drift detection timestamps.If theAttributevalue isProperties, the name of the property.The property path of the property.requiresRecreation(String requiresRecreation) If theAttributevalue isProperties, indicates whether a change to this property causes the resource to be recreated.requiresRecreation(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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:
-
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
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
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:
-
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
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
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
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
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:
-
-
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
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:
-
-
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
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:
-
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
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:
-
-