Class ValidateTemplateRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest
-
- software.amazon.awssdk.services.cloudformation.model.ValidateTemplateRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ValidateTemplateRequest.Builder,ValidateTemplateRequest>
@Generated("software.amazon.awssdk:codegen") public final class ValidateTemplateRequest extends CloudFormationRequest implements ToCopyableBuilder<ValidateTemplateRequest.Builder,ValidateTemplateRequest>
The input for ValidateTemplate action.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceValidateTemplateRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValidateTemplateRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ValidateTemplateRequest.Builder>serializableBuilderClass()StringtemplateBody()Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.StringtemplateURL()Location of file containing the template body.ValidateTemplateRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
templateBody
public 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
TemplateURLorTemplateBody. If both are passed, onlyTemplateBodyis used.- Returns:
- 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
TemplateURLorTemplateBody. If both are passed, onlyTemplateBodyis used.
-
templateURL
public final String templateURL()
Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) 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. The location for an Amazon S3 bucket must start with
https://.Conditional: You must pass
TemplateURLorTemplateBody. If both are passed, onlyTemplateBodyis used.- Returns:
- Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes)
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. The location for an Amazon S3 bucket must start with
https://.Conditional: You must pass
TemplateURLorTemplateBody. If both are passed, onlyTemplateBodyis used.
-
toBuilder
public ValidateTemplateRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ValidateTemplateRequest.Builder,ValidateTemplateRequest>- Specified by:
toBuilderin classCloudFormationRequest
-
builder
public static ValidateTemplateRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ValidateTemplateRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-