@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasParameters()
For responses, this returns true if the service returned a value for the Parameters property.
|
List<Parameter> |
parameters()
A list of
Parameter structures that specify input parameters. |
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 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 final String templateURL()
Location of file containing the template body. The URL must point to a template that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy in the 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 final boolean hasParameters()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasParameters() method.
Parameter structures that specify input parameters.public EstimateTemplateCostRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EstimateTemplateCostRequest.Builder,EstimateTemplateCostRequest>toBuilder in class CloudFormationRequestpublic static EstimateTemplateCostRequest.Builder builder()
public static Class<? extends EstimateTemplateCostRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.