Class GetTemplateSummaryRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cloudformation.model.GetTemplateSummaryRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class GetTemplateSummaryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the GetTemplateSummary action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description GetTemplateSummaryRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTemplateSummaryRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getStackName()
The name or the stack ID that is associated with the stack, which are not always interchangeable.String
getTemplateBody()
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.String
getTemplateURL()
Location of file containing the template body.int
hashCode()
void
setStackName(String stackName)
The name or the stack ID that is associated with the stack, which are not always interchangeable.void
setTemplateBody(String templateBody)
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.void
setTemplateURL(String templateURL)
Location of file containing the template body.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetTemplateSummaryRequest
withStackName(String stackName)
The name or the stack ID that is associated with the stack, which are not always interchangeable.GetTemplateSummaryRequest
withTemplateBody(String templateBody)
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.GetTemplateSummaryRequest
withTemplateURL(String templateURL)
Location of file containing the template body.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setTemplateBody
public void setTemplateBody(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 about templates, see Template Anatomy in the AWS CloudFormation User Guide.
Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.- 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 about templates, see Template Anatomy in the AWS CloudFormation User Guide.Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.
-
getTemplateBody
public String getTemplateBody()
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.
Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.- Returns:
- Structure containing the template body with a minimum length of 1
byte and a maximum length of 51,200 bytes. For more information
about templates, see Template Anatomy in the AWS CloudFormation User Guide.
Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.
-
withTemplateBody
public GetTemplateSummaryRequest withTemplateBody(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 about templates, see Template Anatomy in the AWS CloudFormation User Guide.
Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.- 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 about templates, see Template Anatomy in the AWS CloudFormation User Guide.Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTemplateURL
public void setTemplateURL(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. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.
Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.- Parameters:
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. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.
-
getTemplateURL
public String getTemplateURL()
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. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.
Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.- 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. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.
Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.
-
withTemplateURL
public GetTemplateSummaryRequest withTemplateURL(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. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.
Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.- Parameters:
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. For more information about templates, see Template Anatomy in the AWS CloudFormation User Guide.Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStackName
public void setStackName(String stackName)
The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.
Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.- Parameters:
stackName
- The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.
-
getStackName
public String getStackName()
The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.
Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.- Returns:
- The name or the stack ID that is associated with the stack, which
are not always interchangeable. For running stacks, you can
specify either the stack's name or its unique stack ID. For
deleted stack, you must specify the unique stack ID.
Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.
-
withStackName
public GetTemplateSummaryRequest withStackName(String stackName)
The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.
Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.- Parameters:
stackName
- The name or the stack ID that is associated with the stack, which are not always interchangeable. For running stacks, you can specify either the stack's name or its unique stack ID. For deleted stack, you must specify the unique stack ID.Conditional: You must specify only one of the following parameters:
StackName
,TemplateBody
, orTemplateURL
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetTemplateSummaryRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-