Interface UpdateGeneratedTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFormationRequest.Builder,CopyableBuilder<UpdateGeneratedTemplateRequest.Builder,UpdateGeneratedTemplateRequest>,SdkBuilder<UpdateGeneratedTemplateRequest.Builder,UpdateGeneratedTemplateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateGeneratedTemplateRequest
@Mutable @NotThreadSafe 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.BuilderaddResources(Collection<ResourceDefinition> addResources)An optional list of resources to be added to the generated template.UpdateGeneratedTemplateRequest.BuilderaddResources(Consumer<ResourceDefinition.Builder>... addResources)An optional list of resources to be added to the generated template.UpdateGeneratedTemplateRequest.BuilderaddResources(ResourceDefinition... addResources)An optional list of resources to be added to the generated template.UpdateGeneratedTemplateRequest.BuildergeneratedTemplateName(String generatedTemplateName)The name or Amazon Resource Name (ARN) of a generated template.UpdateGeneratedTemplateRequest.BuildernewGeneratedTemplateName(String newGeneratedTemplateName)An optional new name to assign to the generated template.UpdateGeneratedTemplateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateGeneratedTemplateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateGeneratedTemplateRequest.BuilderrefreshAllResources(Boolean refreshAllResources)Iftrue, update the resource properties in the generated template with their current live state.UpdateGeneratedTemplateRequest.BuilderremoveResources(String... removeResources)A list of logical ids for resources to remove from the generated template.UpdateGeneratedTemplateRequest.BuilderremoveResources(Collection<String> removeResources)A list of logical ids for resources to remove from the generated template.default UpdateGeneratedTemplateRequest.BuildertemplateConfiguration(Consumer<TemplateConfiguration.Builder> templateConfiguration)The configuration details of the generated template, including theDeletionPolicyandUpdateReplacePolicy.UpdateGeneratedTemplateRequest.BuildertemplateConfiguration(TemplateConfiguration templateConfiguration)The configuration details of the generated template, including theDeletionPolicyandUpdateReplacePolicy.-
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.Builderavoiding the need to create one manually viaResourceDefinition.builder().When the
Consumercompletes,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
DeletionPolicyandUpdateReplacePolicy.- Parameters:
templateConfiguration- The configuration details of the generated template, including theDeletionPolicyandUpdateReplacePolicy.- 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 theDeletionPolicyandUpdateReplacePolicy.TemplateConfiguration.Builderavoiding the need to create one manually viaTemplateConfiguration.builder().When the
Consumercompletes,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:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateGeneratedTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-