@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateServiceInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateServiceInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateServiceInstanceRequest |
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 update.
|
String |
getDeploymentType()
The deployment type.
|
String |
getName()
The name of the service instance to update.
|
String |
getServiceName()
The name of the service that the service instance belongs to.
|
String |
getSpec()
The formatted specification that defines the service instance update.
|
String |
getTemplateMajorVersion()
The major version of the service template to update.
|
String |
getTemplateMinorVersion()
The minor version of the service template to update.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
The client token of the service instance to update.
|
void |
setDeploymentType(String deploymentType)
The deployment type.
|
void |
setName(String name)
The name of the service instance to update.
|
void |
setServiceName(String serviceName)
The name of the service that the service instance belongs to.
|
void |
setSpec(String spec)
The formatted specification that defines the service instance update.
|
void |
setTemplateMajorVersion(String templateMajorVersion)
The major version of the service template to update.
|
void |
setTemplateMinorVersion(String templateMinorVersion)
The minor version of the service template to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateServiceInstanceRequest |
withClientToken(String clientToken)
The client token of the service instance to update.
|
UpdateServiceInstanceRequest |
withDeploymentType(DeploymentUpdateType deploymentType)
The deployment type.
|
UpdateServiceInstanceRequest |
withDeploymentType(String deploymentType)
The deployment type.
|
UpdateServiceInstanceRequest |
withName(String name)
The name of the service instance to update.
|
UpdateServiceInstanceRequest |
withServiceName(String serviceName)
The name of the service that the service instance belongs to.
|
UpdateServiceInstanceRequest |
withSpec(String spec)
The formatted specification that defines the service instance update.
|
UpdateServiceInstanceRequest |
withTemplateMajorVersion(String templateMajorVersion)
The major version of the service template to update.
|
UpdateServiceInstanceRequest |
withTemplateMinorVersion(String templateMinorVersion)
The minor version of the service template to update.
|
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 update.
clientToken
- The client token of the service instance to update.public String getClientToken()
The client token of the service instance to update.
public UpdateServiceInstanceRequest withClientToken(String clientToken)
The client token of the service instance to update.
clientToken
- The client token of the service instance to update.public void setDeploymentType(String deploymentType)
The deployment type. It defines the mode for updating a service instance, as follows:
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this deployment type.
MINOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.
MAJOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can specify a different major version that's higher than the major version in use and a minor version.
deploymentType
- The deployment type. It defines the mode for updating a service instance, as follows:
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this deployment type.
MINOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.
MAJOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can specify a different major version that's higher than the major version in use and a minor version.
DeploymentUpdateType
public String getDeploymentType()
The deployment type. It defines the mode for updating a service instance, as follows:
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this deployment type.
MINOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.
MAJOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can specify a different major version that's higher than the major version in use and a minor version.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this deployment type.
MINOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.
MAJOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can specify a different major version that's higher than the major version in use and a minor version.
DeploymentUpdateType
public UpdateServiceInstanceRequest withDeploymentType(String deploymentType)
The deployment type. It defines the mode for updating a service instance, as follows:
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this deployment type.
MINOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.
MAJOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can specify a different major version that's higher than the major version in use and a minor version.
deploymentType
- The deployment type. It defines the mode for updating a service instance, as follows:
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this deployment type.
MINOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.
MAJOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can specify a different major version that's higher than the major version in use and a minor version.
DeploymentUpdateType
public UpdateServiceInstanceRequest withDeploymentType(DeploymentUpdateType deploymentType)
The deployment type. It defines the mode for updating a service instance, as follows:
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this deployment type.
MINOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.
MAJOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can specify a different major version that's higher than the major version in use and a minor version.
deploymentType
- The deployment type. It defines the mode for updating a service instance, as follows:
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the service instance is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this deployment type.
MINOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.
MAJOR_VERSION
In this mode, the service instance is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can specify a different major version that's higher than the major version in use and a minor version.
DeploymentUpdateType
public void setName(String name)
The name of the service instance to update.
name
- The name of the service instance to update.public String getName()
The name of the service instance to update.
public UpdateServiceInstanceRequest withName(String name)
The name of the service instance to update.
name
- The name of the service instance to update.public void setServiceName(String serviceName)
The name of the service that the service instance belongs to.
serviceName
- The name of the service that the service instance belongs to.public String getServiceName()
The name of the service that the service instance belongs to.
public UpdateServiceInstanceRequest withServiceName(String serviceName)
The name of the service that the service instance belongs to.
serviceName
- The name of the service that the service instance belongs to.public void setSpec(String spec)
The formatted specification that defines the service instance update.
spec
- The formatted specification that defines the service instance update.public String getSpec()
The formatted specification that defines the service instance update.
public UpdateServiceInstanceRequest withSpec(String spec)
The formatted specification that defines the service instance update.
spec
- The formatted specification that defines the service instance update.public void setTemplateMajorVersion(String templateMajorVersion)
The major version of the service template to update.
templateMajorVersion
- The major version of the service template to update.public String getTemplateMajorVersion()
The major version of the service template to update.
public UpdateServiceInstanceRequest withTemplateMajorVersion(String templateMajorVersion)
The major version of the service template to update.
templateMajorVersion
- The major version of the service template to update.public void setTemplateMinorVersion(String templateMinorVersion)
The minor version of the service template to update.
templateMinorVersion
- The minor version of the service template to update.public String getTemplateMinorVersion()
The minor version of the service template to update.
public UpdateServiceInstanceRequest withTemplateMinorVersion(String templateMinorVersion)
The minor version of the service template to update.
templateMinorVersion
- The minor version of the service template to update.public String toString()
toString
in class Object
Object.toString()
public UpdateServiceInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()