Interface UpdateGeneratedTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFormationRequest.Builder
,CopyableBuilder<UpdateGeneratedTemplateRequest.Builder,UpdateGeneratedTemplateRequest>
,SdkBuilder<UpdateGeneratedTemplateRequest.Builder,UpdateGeneratedTemplateRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateGeneratedTemplateRequest
public static interface UpdateGeneratedTemplateRequest.Builder extends CloudFormationRequest.Builder, SdkPojo, CopyableBuilder<UpdateGeneratedTemplateRequest.Builder,UpdateGeneratedTemplateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateGeneratedTemplateRequest.Builder
addResources(Collection<ResourceDefinition> addResources)
An optional list of resources to be added to the generated template.UpdateGeneratedTemplateRequest.Builder
addResources(Consumer<ResourceDefinition.Builder>... addResources)
An optional list of resources to be added to the generated template.UpdateGeneratedTemplateRequest.Builder
addResources(ResourceDefinition... addResources)
An optional list of resources to be added to the generated template.UpdateGeneratedTemplateRequest.Builder
generatedTemplateName(String generatedTemplateName)
The name or Amazon Resource Name (ARN) of a generated template.UpdateGeneratedTemplateRequest.Builder
newGeneratedTemplateName(String newGeneratedTemplateName)
An optional new name to assign to the generated template.UpdateGeneratedTemplateRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateGeneratedTemplateRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
UpdateGeneratedTemplateRequest.Builder
refreshAllResources(Boolean refreshAllResources)
Iftrue
, update the resource properties in the generated template with their current live state.UpdateGeneratedTemplateRequest.Builder
removeResources(String... removeResources)
A list of logical ids for resources to remove from the generated template.UpdateGeneratedTemplateRequest.Builder
removeResources(Collection<String> removeResources)
A list of logical ids for resources to remove from the generated template.default UpdateGeneratedTemplateRequest.Builder
templateConfiguration(Consumer<TemplateConfiguration.Builder> templateConfiguration)
The configuration details of the generated template, including theDeletionPolicy
andUpdateReplacePolicy
.UpdateGeneratedTemplateRequest.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
generatedTemplateName
UpdateGeneratedTemplateRequest.Builder generatedTemplateName(String 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
UpdateGeneratedTemplateRequest.Builder newGeneratedTemplateName(String 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
UpdateGeneratedTemplateRequest.Builder addResources(Collection<ResourceDefinition> 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(ResourceDefinition... 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 to#addResources(List
.) - 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:
#addResources(java.util.Collection
)
-
removeResources
UpdateGeneratedTemplateRequest.Builder removeResources(Collection<String> 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
UpdateGeneratedTemplateRequest.Builder removeResources(String... 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
UpdateGeneratedTemplateRequest.Builder refreshAllResources(Boolean 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:
templateConfiguration(TemplateConfiguration)
-
overrideConfiguration
UpdateGeneratedTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateGeneratedTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-