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 ofParameterstructures that specify input parameters.parameters(Consumer<Parameter.Builder>... parameters) A list ofParameterstructures that specify input parameters.parameters(Parameter... parameters) A list ofParameterstructures 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
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
-
templateBody
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
Conditional: You must pass
TemplateBodyorTemplateURL. If both are passed, onlyTemplateBodyis used.- Parameters:
templateBody- Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.Conditional: You must pass
TemplateBodyorTemplateURL. If both are passed, onlyTemplateBodyis 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. The location for an Amazon S3 bucket must start with
https://.Conditional: You must pass
TemplateURLorTemplateBody. If both are passed, onlyTemplateBodyis 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. The location for an Amazon S3 bucket must start withhttps://.Conditional: You must pass
TemplateURLorTemplateBody. If both are passed, onlyTemplateBodyis used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of
Parameterstructures that specify input parameters.- Parameters:
parameters- A list ofParameterstructures that specify input parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
A list of
Parameterstructures that specify input parameters.- Parameters:
parameters- A list ofParameterstructures 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 theParameterstructures that specify input parameters.Parameter.Builderavoiding the need to create one manually viaParameter.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-