Interface EstimateTemplateCostRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudFormationRequest.Builder
,CopyableBuilder<EstimateTemplateCostRequest.Builder,
,EstimateTemplateCostRequest> SdkBuilder<EstimateTemplateCostRequest.Builder,
,EstimateTemplateCostRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
EstimateTemplateCostRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parameters
(Collection<Parameter> parameters) A list ofParameter
structures that specify input parameters.parameters
(Consumer<Parameter.Builder>... parameters) A list ofParameter
structures that specify input parameters.parameters
(Parameter... parameters) A list ofParameter
structures that specify input parameters.templateBody
(String templateBody) Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.templateURL
(String templateURL) Location of file containing the template body.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 Details
-
templateBody
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)
Conditional: You must pass
TemplateBody
orTemplateURL
. If both are passed, onlyTemplateBody
is used.- Parameters:
templateBody
- Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. (For more information, go to Template Anatomy in the CloudFormation User Guide.)Conditional: You must pass
TemplateBody
orTemplateURL
. If both are passed, onlyTemplateBody
is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateURL
Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start with
https://
.Conditional: You must pass
TemplateURL
orTemplateBody
. If both are passed, onlyTemplateBody
is used.- Parameters:
templateURL
- Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the CloudFormation User Guide. The location for an Amazon S3 bucket must start withhttps://
.Conditional: You must pass
TemplateURL
orTemplateBody
. If both are passed, onlyTemplateBody
is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of
Parameter
structures that specify input parameters.- Parameters:
parameters
- A list ofParameter
structures that specify input parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of
Parameter
structures that specify input parameters.- Parameters:
parameters
- A list ofParameter
structures that specify input parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of
This is a convenience method that creates an instance of theParameter
structures that specify input parameters.Parameter.Builder
avoiding the need to create one manually viaParameter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(List<Parameter>)
.- Parameters:
parameters
- a consumer that will call methods onParameter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
EstimateTemplateCostRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
EstimateTemplateCostRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-