@Generated(value="software.amazon.awssdk:codegen") public final class EstimateTemplateCostRequest extends CloudFormationRequest implements ToCopyableBuilder<EstimateTemplateCostRequest.Builder,EstimateTemplateCostRequest>
The input for an EstimateTemplateCost action.
Modifier and Type | Class and Description |
---|---|
static interface |
EstimateTemplateCostRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static EstimateTemplateCostRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
List<Parameter> |
parameters()
A list of
Parameter structures that specify input parameters. |
static Class<? extends EstimateTemplateCostRequest.Builder> |
serializableBuilderClass() |
String |
templateBody()
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
|
String |
templateURL()
Location of file containing the template body.
|
EstimateTemplateCostRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String 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 AWS CloudFormation User Guide.)
Conditional: You must pass TemplateBody
or TemplateURL
. If both are passed, only
TemplateBody
is used.
Conditional: You must pass TemplateBody
or TemplateURL
. If both are passed,
only TemplateBody
is used.
public String templateURL()
Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket. For more information, go to Template Anatomy in the AWS CloudFormation User Guide.
Conditional: You must pass TemplateURL
or TemplateBody
. If both are passed, only
TemplateBody
is used.
Conditional: You must pass TemplateURL
or TemplateBody
. If both are passed,
only TemplateBody
is used.
public List<Parameter> parameters()
A list of Parameter
structures that specify input parameters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Parameter
structures that specify input parameters.public EstimateTemplateCostRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EstimateTemplateCostRequest.Builder,EstimateTemplateCostRequest>
toBuilder
in class CloudFormationRequest
public static EstimateTemplateCostRequest.Builder builder()
public static Class<? extends EstimateTemplateCostRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.