Interface UpdateGeneratedTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFormationRequest.Builder
,CopyableBuilder<UpdateGeneratedTemplateRequest.Builder,
,UpdateGeneratedTemplateRequest> SdkBuilder<UpdateGeneratedTemplateRequest.Builder,
,UpdateGeneratedTemplateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateGeneratedTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddResources
(Collection<ResourceDefinition> addResources) An optional list of resources to be added to the generated template.addResources
(Consumer<ResourceDefinition.Builder>... addResources) An optional list of resources to be added to the generated template.addResources
(ResourceDefinition... addResources) An optional list of resources to be added to the generated template.generatedTemplateName
(String generatedTemplateName) The name or Amazon Resource Name (ARN) of a generated template.newGeneratedTemplateName
(String newGeneratedTemplateName) An optional new name to assign to the generated template.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.refreshAllResources
(Boolean refreshAllResources) Iftrue
, update the resource properties in the generated template with their current live state.removeResources
(String... removeResources) A list of logical ids for resources to remove from the generated template.removeResources
(Collection<String> removeResources) A list of logical ids for resources to remove from the generated template.templateConfiguration
(Consumer<TemplateConfiguration.Builder> templateConfiguration) The configuration details of the generated template, including theDeletionPolicy
andUpdateReplacePolicy
.templateConfiguration
(TemplateConfiguration templateConfiguration) The configuration details of the generated template, including theDeletionPolicy
andUpdateReplacePolicy
.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest.Builder
build
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, sdkFields
-
Method Details
-
generatedTemplateName
The name or Amazon Resource Name (ARN) of a generated template.
- Parameters:
generatedTemplateName
- The name or Amazon Resource Name (ARN) of a generated template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newGeneratedTemplateName
An optional new name to assign to the generated template.
- Parameters:
newGeneratedTemplateName
- An optional new name to assign to the generated template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addResources
An optional list of resources to be added to the generated template.
- Parameters:
addResources
- An optional list of resources to be added to the generated template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addResources
An optional list of resources to be added to the generated template.
- Parameters:
addResources
- An optional list of resources to be added to the generated template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addResources
UpdateGeneratedTemplateRequest.Builder addResources(Consumer<ResourceDefinition.Builder>... addResources) An optional list of resources to be added to the generated template.
This is a convenience method that creates an instance of theResourceDefinition.Builder
avoiding the need to create one manually viaResourceDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddResources(List<ResourceDefinition>)
.- Parameters:
addResources
- a consumer that will call methods onResourceDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
removeResources
A list of logical ids for resources to remove from the generated template.
- Parameters:
removeResources
- A list of logical ids for resources to remove from the generated template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeResources
A list of logical ids for resources to remove from the generated template.
- Parameters:
removeResources
- A list of logical ids for resources to remove from the generated template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshAllResources
If
true
, update the resource properties in the generated template with their current live state. This feature is useful when the resource properties in your generated a template does not reflect the live state of the resource properties. This happens when a user update the resource properties after generating a template.- Parameters:
refreshAllResources
- Iftrue
, update the resource properties in the generated template with their current live state. This feature is useful when the resource properties in your generated a template does not reflect the live state of the resource properties. This happens when a user update the resource properties after generating a template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateConfiguration
UpdateGeneratedTemplateRequest.Builder templateConfiguration(TemplateConfiguration templateConfiguration) The configuration details of the generated template, including the
DeletionPolicy
andUpdateReplacePolicy
.- Parameters:
templateConfiguration
- The configuration details of the generated template, including theDeletionPolicy
andUpdateReplacePolicy
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateConfiguration
default UpdateGeneratedTemplateRequest.Builder templateConfiguration(Consumer<TemplateConfiguration.Builder> templateConfiguration) The configuration details of the generated template, including the
This is a convenience method that creates an instance of theDeletionPolicy
andUpdateReplacePolicy
.TemplateConfiguration.Builder
avoiding the need to create one manually viaTemplateConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totemplateConfiguration(TemplateConfiguration)
.- Parameters:
templateConfiguration
- a consumer that will call methods onTemplateConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateGeneratedTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateGeneratedTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-