Interface CreateGeneratedTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFormationRequest.Builder,CopyableBuilder<CreateGeneratedTemplateRequest.Builder,CreateGeneratedTemplateRequest>,SdkBuilder<CreateGeneratedTemplateRequest.Builder,CreateGeneratedTemplateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateGeneratedTemplateRequest
@Mutable @NotThreadSafe public static interface CreateGeneratedTemplateRequest.Builder extends CloudFormationRequest.Builder, SdkPojo, CopyableBuilder<CreateGeneratedTemplateRequest.Builder,CreateGeneratedTemplateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateGeneratedTemplateRequest.BuildergeneratedTemplateName(String generatedTemplateName)The name assigned to the generated template.CreateGeneratedTemplateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateGeneratedTemplateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateGeneratedTemplateRequest.Builderresources(Collection<ResourceDefinition> resources)An optional list of resources to be included in the generated template.CreateGeneratedTemplateRequest.Builderresources(Consumer<ResourceDefinition.Builder>... resources)An optional list of resources to be included in the generated template.CreateGeneratedTemplateRequest.Builderresources(ResourceDefinition... resources)An optional list of resources to be included in the generated template.CreateGeneratedTemplateRequest.BuilderstackName(String stackName)An optional name or ARN of a stack to use as the base stack for the generated template.default CreateGeneratedTemplateRequest.BuildertemplateConfiguration(Consumer<TemplateConfiguration.Builder> templateConfiguration)The configuration details of the generated template, including theDeletionPolicyandUpdateReplacePolicy.CreateGeneratedTemplateRequest.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
-
resources
CreateGeneratedTemplateRequest.Builder resources(Collection<ResourceDefinition> resources)
An optional list of resources to be included in the generated template.
If no resources are specified,the template will be created without any resources. Resources can be added to the template using the
UpdateGeneratedTemplateAPI action.- Parameters:
resources- An optional list of resources to be included in the generated template.If no resources are specified,the template will be created without any resources. Resources can be added to the template using the
UpdateGeneratedTemplateAPI action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
CreateGeneratedTemplateRequest.Builder resources(ResourceDefinition... resources)
An optional list of resources to be included in the generated template.
If no resources are specified,the template will be created without any resources. Resources can be added to the template using the
UpdateGeneratedTemplateAPI action.- Parameters:
resources- An optional list of resources to be included in the generated template.If no resources are specified,the template will be created without any resources. Resources can be added to the template using the
UpdateGeneratedTemplateAPI action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
CreateGeneratedTemplateRequest.Builder resources(Consumer<ResourceDefinition.Builder>... resources)
An optional list of resources to be included in the generated template.
If no resources are specified,the template will be created without any resources. Resources can be added to the template using the
This is a convenience method that creates an instance of theUpdateGeneratedTemplateAPI action.ResourceDefinition.Builderavoiding the need to create one manually viaResourceDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resources(List.) - Parameters:
resources- 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:
#resources(java.util.Collection)
-
generatedTemplateName
CreateGeneratedTemplateRequest.Builder generatedTemplateName(String generatedTemplateName)
The name assigned to the generated template.
- Parameters:
generatedTemplateName- The name assigned to the generated template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackName
CreateGeneratedTemplateRequest.Builder stackName(String stackName)
An optional name or ARN of a stack to use as the base stack for the generated template.
- Parameters:
stackName- An optional name or ARN of a stack to use as the base stack for the generated template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateConfiguration
CreateGeneratedTemplateRequest.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 CreateGeneratedTemplateRequest.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
CreateGeneratedTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateGeneratedTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-