Interface CreateGeneratedTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFormationRequest.Builder
,CopyableBuilder<CreateGeneratedTemplateRequest.Builder,CreateGeneratedTemplateRequest>
,SdkBuilder<CreateGeneratedTemplateRequest.Builder,CreateGeneratedTemplateRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateGeneratedTemplateRequest
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.Builder
generatedTemplateName(String generatedTemplateName)
The name assigned to the generated template.CreateGeneratedTemplateRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateGeneratedTemplateRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateGeneratedTemplateRequest.Builder
resources(Collection<ResourceDefinition> resources)
An optional list of resources to be included in the generated template.CreateGeneratedTemplateRequest.Builder
resources(Consumer<ResourceDefinition.Builder>... resources)
An optional list of resources to be included in the generated template.CreateGeneratedTemplateRequest.Builder
resources(ResourceDefinition... resources)
An optional list of resources to be included in the generated template.CreateGeneratedTemplateRequest.Builder
stackName(String stackName)
An optional name or ARN of a stack to use as the base stack for the generated template.default CreateGeneratedTemplateRequest.Builder
templateConfiguration(Consumer<TemplateConfiguration.Builder> templateConfiguration)
The configuration details of the generated template, including theDeletionPolicy
andUpdateReplacePolicy
.CreateGeneratedTemplateRequest.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, 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
UpdateGeneratedTemplate
API 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
UpdateGeneratedTemplate
API 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
UpdateGeneratedTemplate
API 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
UpdateGeneratedTemplate
API 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 theUpdateGeneratedTemplate
API action.ResourceDefinition.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#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
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 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 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
CreateGeneratedTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateGeneratedTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-