@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGeneratedTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateGeneratedTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
CreateGeneratedTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGeneratedTemplateName()
The name assigned to the generated template.
|
List<ResourceDefinition> |
getResources()
An optional list of resources to be included in the generated template.
|
String |
getStackName()
An optional name or ARN of a stack to use as the base stack for the generated template.
|
TemplateConfiguration |
getTemplateConfiguration()
The configuration details of the generated template, including the
DeletionPolicy and
UpdateReplacePolicy . |
int |
hashCode() |
void |
setGeneratedTemplateName(String generatedTemplateName)
The name assigned to the generated template.
|
void |
setResources(Collection<ResourceDefinition> resources)
An optional list of resources to be included in the generated template.
|
void |
setStackName(String stackName)
An optional name or ARN of a stack to use as the base stack for the generated template.
|
void |
setTemplateConfiguration(TemplateConfiguration templateConfiguration)
The configuration details of the generated template, including the
DeletionPolicy and
UpdateReplacePolicy . |
String |
toString()
Returns a string representation of this object.
|
CreateGeneratedTemplateRequest |
withGeneratedTemplateName(String generatedTemplateName)
The name assigned to the generated template.
|
CreateGeneratedTemplateRequest |
withResources(Collection<ResourceDefinition> resources)
An optional list of resources to be included in the generated template.
|
CreateGeneratedTemplateRequest |
withResources(ResourceDefinition... resources)
An optional list of resources to be included in the generated template.
|
CreateGeneratedTemplateRequest |
withStackName(String stackName)
An optional name or ARN of a stack to use as the base stack for the generated template.
|
CreateGeneratedTemplateRequest |
withTemplateConfiguration(TemplateConfiguration templateConfiguration)
The configuration details of the generated template, including the
DeletionPolicy and
UpdateReplacePolicy . |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<ResourceDefinition> getResources()
An optional list of resources to be included in the generated template.
If no resources are specified,the template will be created without any resources. Resources can be added to the
template using the UpdateGeneratedTemplate
API action.
If no resources are specified,the template will be created without any resources. Resources can be added
to the template using the UpdateGeneratedTemplate
API action.
public void setResources(Collection<ResourceDefinition> resources)
An optional list of resources to be included in the generated template.
If no resources are specified,the template will be created without any resources. Resources can be added to the
template using the UpdateGeneratedTemplate
API action.
resources
- An optional list of resources to be included in the generated template.
If no resources are specified,the template will be created without any resources. Resources can be added
to the template using the UpdateGeneratedTemplate
API action.
public CreateGeneratedTemplateRequest withResources(ResourceDefinition... resources)
An optional list of resources to be included in the generated template.
If no resources are specified,the template will be created without any resources. Resources can be added to the
template using the UpdateGeneratedTemplate
API action.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- An optional list of resources to be included in the generated template.
If no resources are specified,the template will be created without any resources. Resources can be added
to the template using the UpdateGeneratedTemplate
API action.
public CreateGeneratedTemplateRequest withResources(Collection<ResourceDefinition> resources)
An optional list of resources to be included in the generated template.
If no resources are specified,the template will be created without any resources. Resources can be added to the
template using the UpdateGeneratedTemplate
API action.
resources
- An optional list of resources to be included in the generated template.
If no resources are specified,the template will be created without any resources. Resources can be added
to the template using the UpdateGeneratedTemplate
API action.
public void setGeneratedTemplateName(String generatedTemplateName)
The name assigned to the generated template.
generatedTemplateName
- The name assigned to the generated template.public String getGeneratedTemplateName()
The name assigned to the generated template.
public CreateGeneratedTemplateRequest withGeneratedTemplateName(String generatedTemplateName)
The name assigned to the generated template.
generatedTemplateName
- The name assigned to the generated template.public void setStackName(String stackName)
An optional name or ARN of a stack to use as the base stack for the generated template.
stackName
- An optional name or ARN of a stack to use as the base stack for the generated template.public String getStackName()
An optional name or ARN of a stack to use as the base stack for the generated template.
public CreateGeneratedTemplateRequest withStackName(String stackName)
An optional name or ARN of a stack to use as the base stack for the generated template.
stackName
- An optional name or ARN of a stack to use as the base stack for the generated template.public void setTemplateConfiguration(TemplateConfiguration templateConfiguration)
The configuration details of the generated template, including the DeletionPolicy
and
UpdateReplacePolicy
.
templateConfiguration
- The configuration details of the generated template, including the DeletionPolicy
and
UpdateReplacePolicy
.public TemplateConfiguration getTemplateConfiguration()
The configuration details of the generated template, including the DeletionPolicy
and
UpdateReplacePolicy
.
DeletionPolicy
and
UpdateReplacePolicy
.public CreateGeneratedTemplateRequest withTemplateConfiguration(TemplateConfiguration templateConfiguration)
The configuration details of the generated template, including the DeletionPolicy
and
UpdateReplacePolicy
.
templateConfiguration
- The configuration details of the generated template, including the DeletionPolicy
and
UpdateReplacePolicy
.public String toString()
toString
in class Object
Object.toString()
public CreateGeneratedTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()