public class CreateProvisioningTemplateVersionRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a new version of a fleet provisioning template.
Constructor and Description |
---|
CreateProvisioningTemplateVersionRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getSetAsDefault()
Sets a fleet provision template version as the default version.
|
java.lang.String |
getTemplateBody()
The JSON formatted contents of the fleet provisioning template.
|
java.lang.String |
getTemplateName()
The name of the fleet provisioning template.
|
int |
hashCode() |
java.lang.Boolean |
isSetAsDefault()
Sets a fleet provision template version as the default version.
|
void |
setSetAsDefault(java.lang.Boolean setAsDefault)
Sets a fleet provision template version as the default version.
|
void |
setTemplateBody(java.lang.String templateBody)
The JSON formatted contents of the fleet provisioning template.
|
void |
setTemplateName(java.lang.String templateName)
The name of the fleet provisioning template.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateProvisioningTemplateVersionRequest |
withSetAsDefault(java.lang.Boolean setAsDefault)
Sets a fleet provision template version as the default version.
|
CreateProvisioningTemplateVersionRequest |
withTemplateBody(java.lang.String templateBody)
The JSON formatted contents of the fleet provisioning template.
|
CreateProvisioningTemplateVersionRequest |
withTemplateName(java.lang.String templateName)
The name of the fleet provisioning template.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public CreateProvisioningTemplateVersionRequest()
public java.lang.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(java.lang.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(java.lang.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 java.lang.String getTemplateBody()
The JSON formatted contents of the fleet provisioning template.
The JSON formatted contents of the fleet provisioning template.
public void setTemplateBody(java.lang.String templateBody)
The JSON formatted contents of the fleet provisioning template.
templateBody
- The JSON formatted contents of the fleet provisioning template.
public CreateProvisioningTemplateVersionRequest withTemplateBody(java.lang.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 java.lang.Boolean isSetAsDefault()
Sets a fleet provision template version as the default version.
Sets a fleet provision template version as the default version.
public java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.