@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateServiceInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateServiceInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateServiceInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
The client token of the service instance to create.
|
String |
getName()
The name of the service instance to create.
|
String |
getServiceName()
The name of the service the service instance is added to.
|
String |
getSpec()
The spec for the service instance you want to create.
|
List<Tag> |
getTags()
An optional list of metadata items that you can associate with the Proton service instance.
|
String |
getTemplateMajorVersion()
To create a new major and minor version of the service template, exclude
major Version . |
String |
getTemplateMinorVersion()
To create a new minor version of the service template, include a
major Version . |
int |
hashCode() |
void |
setClientToken(String clientToken)
The client token of the service instance to create.
|
void |
setName(String name)
The name of the service instance to create.
|
void |
setServiceName(String serviceName)
The name of the service the service instance is added to.
|
void |
setSpec(String spec)
The spec for the service instance you want to create.
|
void |
setTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton service instance.
|
void |
setTemplateMajorVersion(String templateMajorVersion)
To create a new major and minor version of the service template, exclude
major Version . |
void |
setTemplateMinorVersion(String templateMinorVersion)
To create a new minor version of the service template, include a
major Version . |
String |
toString()
Returns a string representation of this object.
|
CreateServiceInstanceRequest |
withClientToken(String clientToken)
The client token of the service instance to create.
|
CreateServiceInstanceRequest |
withName(String name)
The name of the service instance to create.
|
CreateServiceInstanceRequest |
withServiceName(String serviceName)
The name of the service the service instance is added to.
|
CreateServiceInstanceRequest |
withSpec(String spec)
The spec for the service instance you want to create.
|
CreateServiceInstanceRequest |
withTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton service instance.
|
CreateServiceInstanceRequest |
withTags(Tag... tags)
An optional list of metadata items that you can associate with the Proton service instance.
|
CreateServiceInstanceRequest |
withTemplateMajorVersion(String templateMajorVersion)
To create a new major and minor version of the service template, exclude
major Version . |
CreateServiceInstanceRequest |
withTemplateMinorVersion(String templateMinorVersion)
To create a new minor version of the service template, include a
major Version . |
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 setClientToken(String clientToken)
The client token of the service instance to create.
clientToken
- The client token of the service instance to create.public String getClientToken()
The client token of the service instance to create.
public CreateServiceInstanceRequest withClientToken(String clientToken)
The client token of the service instance to create.
clientToken
- The client token of the service instance to create.public void setName(String name)
The name of the service instance to create.
name
- The name of the service instance to create.public String getName()
The name of the service instance to create.
public CreateServiceInstanceRequest withName(String name)
The name of the service instance to create.
name
- The name of the service instance to create.public void setServiceName(String serviceName)
The name of the service the service instance is added to.
serviceName
- The name of the service the service instance is added to.public String getServiceName()
The name of the service the service instance is added to.
public CreateServiceInstanceRequest withServiceName(String serviceName)
The name of the service the service instance is added to.
serviceName
- The name of the service the service instance is added to.public void setSpec(String spec)
The spec for the service instance you want to create.
spec
- The spec for the service instance you want to create.public String getSpec()
The spec for the service instance you want to create.
public CreateServiceInstanceRequest withSpec(String spec)
The spec for the service instance you want to create.
spec
- The spec for the service instance you want to create.public List<Tag> getTags()
An optional list of metadata items that you can associate with the Proton service instance. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
For more information, see Proton resources and tagging in the Proton User Guide.
public void setTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton service instance. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
tags
- An optional list of metadata items that you can associate with the Proton service instance. A tag is a
key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
public CreateServiceInstanceRequest withTags(Tag... tags)
An optional list of metadata items that you can associate with the Proton service instance. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- An optional list of metadata items that you can associate with the Proton service instance. A tag is a
key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
public CreateServiceInstanceRequest withTags(Collection<Tag> tags)
An optional list of metadata items that you can associate with the Proton service instance. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
tags
- An optional list of metadata items that you can associate with the Proton service instance. A tag is a
key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
public void setTemplateMajorVersion(String templateMajorVersion)
To create a new major and minor version of the service template, exclude major Version
.
templateMajorVersion
- To create a new major and minor version of the service template, exclude major Version
.public String getTemplateMajorVersion()
To create a new major and minor version of the service template, exclude major Version
.
major Version
.public CreateServiceInstanceRequest withTemplateMajorVersion(String templateMajorVersion)
To create a new major and minor version of the service template, exclude major Version
.
templateMajorVersion
- To create a new major and minor version of the service template, exclude major Version
.public void setTemplateMinorVersion(String templateMinorVersion)
To create a new minor version of the service template, include a major Version
.
templateMinorVersion
- To create a new minor version of the service template, include a major Version
.public String getTemplateMinorVersion()
To create a new minor version of the service template, include a major Version
.
major Version
.public CreateServiceInstanceRequest withTemplateMinorVersion(String templateMinorVersion)
To create a new minor version of the service template, include a major Version
.
templateMinorVersion
- To create a new minor version of the service template, include a major Version
.public String toString()
toString
in class Object
Object.toString()
public CreateServiceInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()