public class CreateProvisioningTemplateVersionRequest extends AmazonWebServiceRequest implements Serializable
Creates a new version of a fleet provisioning template.
| Constructor and Description |
|---|
CreateProvisioningTemplateVersionRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getSetAsDefault()
Sets a fleet provision template version as the default version.
|
String |
getTemplateBody()
The JSON formatted contents of the fleet provisioning template.
|
String |
getTemplateName()
The name of the fleet provisioning template.
|
int |
hashCode() |
Boolean |
isSetAsDefault()
Sets a fleet provision template version as the default version.
|
void |
setSetAsDefault(Boolean setAsDefault)
Sets a fleet provision template version as the default version.
|
void |
setTemplateBody(String templateBody)
The JSON formatted contents of the fleet provisioning template.
|
void |
setTemplateName(String templateName)
The name of the fleet provisioning template.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateProvisioningTemplateVersionRequest |
withSetAsDefault(Boolean setAsDefault)
Sets a fleet provision template version as the default version.
|
CreateProvisioningTemplateVersionRequest |
withTemplateBody(String templateBody)
The JSON formatted contents of the fleet provisioning template.
|
CreateProvisioningTemplateVersionRequest |
withTemplateName(String templateName)
The name of the fleet provisioning template.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic CreateProvisioningTemplateVersionRequest()
public String getTemplateName()
The name of the fleet provisioning template.
Constraints:
Length: 1 - 36
Pattern: ^[0-9A-Za-z_-]+$
The name of the fleet provisioning template.
public void setTemplateName(String templateName)
The name of the fleet provisioning template.
Constraints:
Length: 1 - 36
Pattern: ^[0-9A-Za-z_-]+$
templateName - The name of the fleet provisioning template.
public CreateProvisioningTemplateVersionRequest withTemplateName(String templateName)
The name of the fleet provisioning template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 36
Pattern: ^[0-9A-Za-z_-]+$
templateName - The name of the fleet provisioning template.
public String getTemplateBody()
The JSON formatted contents of the fleet provisioning template.
The JSON formatted contents of the fleet provisioning template.
public void setTemplateBody(String templateBody)
The JSON formatted contents of the fleet provisioning template.
templateBody - The JSON formatted contents of the fleet provisioning template.
public CreateProvisioningTemplateVersionRequest withTemplateBody(String templateBody)
The JSON formatted contents of the fleet provisioning template.
Returns a reference to this object so that method calls can be chained together.
templateBody - The JSON formatted contents of the fleet provisioning template.
public Boolean isSetAsDefault()
Sets a fleet provision template version as the default version.
Sets a fleet provision template version as the default version.
public Boolean getSetAsDefault()
Sets a fleet provision template version as the default version.
Sets a fleet provision template version as the default version.
public void setSetAsDefault(Boolean setAsDefault)
Sets a fleet provision template version as the default version.
setAsDefault - Sets a fleet provision template version as the default version.
public CreateProvisioningTemplateVersionRequest withSetAsDefault(Boolean setAsDefault)
Sets a fleet provision template version as the default version.
Returns a reference to this object so that method calls can be chained together.
setAsDefault - Sets a fleet provision template version as the default version.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.