@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateGeneratedTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateGeneratedTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateGeneratedTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<ResourceDefinition> |
getAddResources()
An optional list of resources to be added to the generated template.
|
String |
getGeneratedTemplateName()
The name or Amazon Resource Name (ARN) of a generated template.
|
String |
getNewGeneratedTemplateName()
An optional new name to assign to the generated template.
|
Boolean |
getRefreshAllResources()
If
true , update the resource properties in the generated template with their current live state. |
List<String> |
getRemoveResources()
A list of logical ids for resources to remove from the generated template.
|
TemplateConfiguration |
getTemplateConfiguration()
The configuration details of the generated template, including the
DeletionPolicy and
UpdateReplacePolicy . |
int |
hashCode() |
Boolean |
isRefreshAllResources()
If
true , update the resource properties in the generated template with their current live state. |
void |
setAddResources(Collection<ResourceDefinition> addResources)
An optional list of resources to be added to the generated template.
|
void |
setGeneratedTemplateName(String generatedTemplateName)
The name or Amazon Resource Name (ARN) of a generated template.
|
void |
setNewGeneratedTemplateName(String newGeneratedTemplateName)
An optional new name to assign to the generated template.
|
void |
setRefreshAllResources(Boolean refreshAllResources)
If
true , update the resource properties in the generated template with their current live state. |
void |
setRemoveResources(Collection<String> removeResources)
A list of logical ids for resources to remove from 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.
|
UpdateGeneratedTemplateRequest |
withAddResources(Collection<ResourceDefinition> addResources)
An optional list of resources to be added to the generated template.
|
UpdateGeneratedTemplateRequest |
withAddResources(ResourceDefinition... addResources)
An optional list of resources to be added to the generated template.
|
UpdateGeneratedTemplateRequest |
withGeneratedTemplateName(String generatedTemplateName)
The name or Amazon Resource Name (ARN) of a generated template.
|
UpdateGeneratedTemplateRequest |
withNewGeneratedTemplateName(String newGeneratedTemplateName)
An optional new name to assign to the generated template.
|
UpdateGeneratedTemplateRequest |
withRefreshAllResources(Boolean refreshAllResources)
If
true , update the resource properties in the generated template with their current live state. |
UpdateGeneratedTemplateRequest |
withRemoveResources(Collection<String> removeResources)
A list of logical ids for resources to remove from the generated template.
|
UpdateGeneratedTemplateRequest |
withRemoveResources(String... removeResources)
A list of logical ids for resources to remove from the generated template.
|
UpdateGeneratedTemplateRequest |
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 void setGeneratedTemplateName(String generatedTemplateName)
The name or Amazon Resource Name (ARN) of a generated template.
generatedTemplateName
- The name or Amazon Resource Name (ARN) of a generated template.public String getGeneratedTemplateName()
The name or Amazon Resource Name (ARN) of a generated template.
public UpdateGeneratedTemplateRequest withGeneratedTemplateName(String generatedTemplateName)
The name or Amazon Resource Name (ARN) of a generated template.
generatedTemplateName
- The name or Amazon Resource Name (ARN) of a generated template.public void setNewGeneratedTemplateName(String newGeneratedTemplateName)
An optional new name to assign to the generated template.
newGeneratedTemplateName
- An optional new name to assign to the generated template.public String getNewGeneratedTemplateName()
An optional new name to assign to the generated template.
public UpdateGeneratedTemplateRequest withNewGeneratedTemplateName(String newGeneratedTemplateName)
An optional new name to assign to the generated template.
newGeneratedTemplateName
- An optional new name to assign to the generated template.public List<ResourceDefinition> getAddResources()
An optional list of resources to be added to the generated template.
public void setAddResources(Collection<ResourceDefinition> addResources)
An optional list of resources to be added to the generated template.
addResources
- An optional list of resources to be added to the generated template.public UpdateGeneratedTemplateRequest withAddResources(ResourceDefinition... addResources)
An optional list of resources to be added to the generated template.
NOTE: This method appends the values to the existing list (if any). Use
setAddResources(java.util.Collection)
or withAddResources(java.util.Collection)
if you want to
override the existing values.
addResources
- An optional list of resources to be added to the generated template.public UpdateGeneratedTemplateRequest withAddResources(Collection<ResourceDefinition> addResources)
An optional list of resources to be added to the generated template.
addResources
- An optional list of resources to be added to the generated template.public List<String> getRemoveResources()
A list of logical ids for resources to remove from the generated template.
public void setRemoveResources(Collection<String> removeResources)
A list of logical ids for resources to remove from the generated template.
removeResources
- A list of logical ids for resources to remove from the generated template.public UpdateGeneratedTemplateRequest withRemoveResources(String... removeResources)
A list of logical ids for resources to remove from the generated template.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveResources(java.util.Collection)
or withRemoveResources(java.util.Collection)
if you
want to override the existing values.
removeResources
- A list of logical ids for resources to remove from the generated template.public UpdateGeneratedTemplateRequest withRemoveResources(Collection<String> removeResources)
A list of logical ids for resources to remove from the generated template.
removeResources
- A list of logical ids for resources to remove from the generated template.public void setRefreshAllResources(Boolean refreshAllResources)
If true
, update the resource properties in the generated template with their current live state.
This feature is useful when the resource properties in your generated a template does not reflect the live state
of the resource properties. This happens when a user update the resource properties after generating a template.
refreshAllResources
- If true
, update the resource properties in the generated template with their current live
state. This feature is useful when the resource properties in your generated a template does not reflect
the live state of the resource properties. This happens when a user update the resource properties after
generating a template.public Boolean getRefreshAllResources()
If true
, update the resource properties in the generated template with their current live state.
This feature is useful when the resource properties in your generated a template does not reflect the live state
of the resource properties. This happens when a user update the resource properties after generating a template.
true
, update the resource properties in the generated template with their current live
state. This feature is useful when the resource properties in your generated a template does not reflect
the live state of the resource properties. This happens when a user update the resource properties after
generating a template.public UpdateGeneratedTemplateRequest withRefreshAllResources(Boolean refreshAllResources)
If true
, update the resource properties in the generated template with their current live state.
This feature is useful when the resource properties in your generated a template does not reflect the live state
of the resource properties. This happens when a user update the resource properties after generating a template.
refreshAllResources
- If true
, update the resource properties in the generated template with their current live
state. This feature is useful when the resource properties in your generated a template does not reflect
the live state of the resource properties. This happens when a user update the resource properties after
generating a template.public Boolean isRefreshAllResources()
If true
, update the resource properties in the generated template with their current live state.
This feature is useful when the resource properties in your generated a template does not reflect the live state
of the resource properties. This happens when a user update the resource properties after generating a template.
true
, update the resource properties in the generated template with their current live
state. This feature is useful when the resource properties in your generated a template does not reflect
the live state of the resource properties. This happens when a user update the resource properties after
generating a 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 UpdateGeneratedTemplateRequest 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 UpdateGeneratedTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()