public class GetTemplateSummaryRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The input for the GetTemplateSummary action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
stackName
The name or the stack ID that is associated with the stack, which are not
always interchangeable.
|
private java.lang.String |
templateBody
Structure containing the template body with a minimum length of 1 byte
and a maximum length of 51,200 bytes.
|
private java.lang.String |
templateURL
Location of file containing the template body.
|
NOOP
Constructor and Description |
---|
GetTemplateSummaryRequest() |
Modifier and Type | Method and Description |
---|---|
GetTemplateSummaryRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getStackName()
The name or the stack ID that is associated with the stack, which are not
always interchangeable.
|
java.lang.String |
getTemplateBody()
Structure containing the template body with a minimum length of 1 byte
and a maximum length of 51,200 bytes.
|
java.lang.String |
getTemplateURL()
Location of file containing the template body.
|
int |
hashCode() |
void |
setStackName(java.lang.String stackName)
The name or the stack ID that is associated with the stack, which are not
always interchangeable.
|
void |
setTemplateBody(java.lang.String templateBody)
Structure containing the template body with a minimum length of 1 byte
and a maximum length of 51,200 bytes.
|
void |
setTemplateURL(java.lang.String templateURL)
Location of file containing the template body.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetTemplateSummaryRequest |
withStackName(java.lang.String stackName)
The name or the stack ID that is associated with the stack, which are not
always interchangeable.
|
GetTemplateSummaryRequest |
withTemplateBody(java.lang.String templateBody)
Structure containing the template body with a minimum length of 1 byte
and a maximum length of 51,200 bytes.
|
GetTemplateSummaryRequest |
withTemplateURL(java.lang.String templateURL)
Location of file containing the template body.
|
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
private java.lang.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
, or
TemplateURL
.
private java.lang.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
, or
TemplateURL
.
private java.lang.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
, or
TemplateURL
.
public void setTemplateBody(java.lang.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
, or
TemplateURL
.
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
, or
TemplateURL
.
public java.lang.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
, or
TemplateURL
.
Conditional: You must specify only one of the following
parameters: StackName
, TemplateBody
, or
TemplateURL
.
public GetTemplateSummaryRequest withTemplateBody(java.lang.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
, or
TemplateURL
.
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
, or
TemplateURL
.
public void setTemplateURL(java.lang.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
, or
TemplateURL
.
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
, or
TemplateURL
.
public java.lang.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
, or
TemplateURL
.
Conditional: You must specify only one of the following
parameters: StackName
, TemplateBody
, or
TemplateURL
.
public GetTemplateSummaryRequest withTemplateURL(java.lang.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
, or
TemplateURL
.
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
, or
TemplateURL
.
public void setStackName(java.lang.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
, or
TemplateURL
.
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
, or
TemplateURL
.
public java.lang.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
, or
TemplateURL
.
Conditional: You must specify only one of the following
parameters: StackName
, TemplateBody
, or
TemplateURL
.
public GetTemplateSummaryRequest withStackName(java.lang.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
, or
TemplateURL
.
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
, or
TemplateURL
.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetTemplateSummaryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()