Interface CreateGeneratedTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFormationRequest.Builder,CopyableBuilder<CreateGeneratedTemplateRequest.Builder,,CreateGeneratedTemplateRequest> SdkBuilder<CreateGeneratedTemplateRequest.Builder,,CreateGeneratedTemplateRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateGeneratedTemplateRequest
-
Method Summary
Modifier and TypeMethodDescriptiongeneratedTemplateName(String generatedTemplateName) The name assigned to the generated template.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resources(Collection<ResourceDefinition> resources) An optional list of resources to be included in the generated template.resources(Consumer<ResourceDefinition.Builder>... resources) An optional list of resources to be included in the generated template.resources(ResourceDefinition... resources) An optional list of resources to be included in the generated template.An optional name or ARN of a stack to use as the base stack for the generated template.templateConfiguration(Consumer<TemplateConfiguration.Builder> templateConfiguration) The configuration details of the generated template, including theDeletionPolicyandUpdateReplacePolicy.templateConfiguration(TemplateConfiguration templateConfiguration) The configuration details of the generated template, including theDeletionPolicyandUpdateReplacePolicy.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
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
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
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 toresources(List<ResourceDefinition>).- 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:
-
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
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:
-
overrideConfiguration
CreateGeneratedTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateGeneratedTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-