Interface CfnCreateTemplateProvider.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CfnCreateTemplateProvider.Builder,,CfnCreateTemplateProvider> SdkBuilder<CfnCreateTemplateProvider.Builder,,CfnCreateTemplateProvider> SdkPojo
- Enclosing class:
CfnCreateTemplateProvider
@Mutable
@NotThreadSafe
public static interface CfnCreateTemplateProvider.Builder
extends SdkPojo, CopyableBuilder<CfnCreateTemplateProvider.Builder,CfnCreateTemplateProvider>
-
Method Summary
Modifier and TypeMethodDescriptionparameters(Collection<CfnStackCreateParameter> parameters) An array of CloudFormation stack parameters.parameters(Consumer<CfnStackCreateParameter.Builder>... parameters) An array of CloudFormation stack parameters.parameters(CfnStackCreateParameter... parameters) An array of CloudFormation stack parameters.The IAM role that CloudFormation assumes when creating the stack.templateName(String templateName) A unique identifier for the template within the project.templateURL(String templateURL) The Amazon S3 URL of the CloudFormation template.Methods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
templateName
A unique identifier for the template within the project.
- Parameters:
templateName- A unique identifier for the template within the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateURL
The Amazon S3 URL of the CloudFormation template.
- Parameters:
templateURL- The Amazon S3 URL of the CloudFormation template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleARN
The IAM role that CloudFormation assumes when creating the stack.
- Parameters:
roleARN- The IAM role that CloudFormation assumes when creating the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
An array of CloudFormation stack parameters.
- Parameters:
parameters- An array of CloudFormation stack parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
An array of CloudFormation stack parameters.
- Parameters:
parameters- An array of CloudFormation stack parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
CfnCreateTemplateProvider.Builder parameters(Consumer<CfnStackCreateParameter.Builder>... parameters) An array of CloudFormation stack parameters.
This is a convenience method that creates an instance of theCfnStackCreateParameter.Builderavoiding the need to create one manually viaCfnStackCreateParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparameters(List<CfnStackCreateParameter>).- Parameters:
parameters- a consumer that will call methods onCfnStackCreateParameter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-