@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEnvironmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateEnvironmentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateEnvironmentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDeploymentType()
There are four modes for updating an environment as described in the following.
|
String |
getDescription()
A description of the environment update.
|
String |
getEnvironmentAccountConnectionId()
The ID of the environment account connection.
|
String |
getName()
The name of the environment to update.
|
String |
getProtonServiceRoleArn()
The ARN of the AWS Proton service role that allows AWS Proton to make API calls to other services your behalf.
|
String |
getSpec()
The formatted specification that defines the update.
|
String |
getTemplateMajorVersion()
The ID of the major version of the environment to update.
|
String |
getTemplateMinorVersion()
The ID of the minor version of the environment to update.
|
int |
hashCode() |
void |
setDeploymentType(String deploymentType)
There are four modes for updating an environment as described in the following.
|
void |
setDescription(String description)
A description of the environment update.
|
void |
setEnvironmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection.
|
void |
setName(String name)
The name of the environment to update.
|
void |
setProtonServiceRoleArn(String protonServiceRoleArn)
The ARN of the AWS Proton service role that allows AWS Proton to make API calls to other services your behalf.
|
void |
setSpec(String spec)
The formatted specification that defines the update.
|
void |
setTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the environment to update.
|
void |
setTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the environment to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEnvironmentRequest |
withDeploymentType(DeploymentUpdateType deploymentType)
There are four modes for updating an environment as described in the following.
|
UpdateEnvironmentRequest |
withDeploymentType(String deploymentType)
There are four modes for updating an environment as described in the following.
|
UpdateEnvironmentRequest |
withDescription(String description)
A description of the environment update.
|
UpdateEnvironmentRequest |
withEnvironmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection.
|
UpdateEnvironmentRequest |
withName(String name)
The name of the environment to update.
|
UpdateEnvironmentRequest |
withProtonServiceRoleArn(String protonServiceRoleArn)
The ARN of the AWS Proton service role that allows AWS Proton to make API calls to other services your behalf.
|
UpdateEnvironmentRequest |
withSpec(String spec)
The formatted specification that defines the update.
|
UpdateEnvironmentRequest |
withTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the environment to update.
|
UpdateEnvironmentRequest |
withTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the environment 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 setDeploymentType(String deploymentType)
There are four modes for updating an environment as described in the following. The deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the environment is deployed and updated with the new spec that you provide. Only requested
parameters are updated. Don’t include minor or major version parameters when you use this
deployment-type
.
MINOR_VERSION
In this mode, the environment 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 environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that is higher than the major version in use and a minor version (optional).
deploymentType
- There are four modes for updating an environment as described in the following. The
deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the environment is deployed and updated with the new spec that you provide. Only requested
parameters are updated. Don’t include minor or major version parameters when you use this
deployment-type
.
MINOR_VERSION
In this mode, the environment 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 environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that is higher than the major version in use and a minor version (optional).
DeploymentUpdateType
public String getDeploymentType()
There are four modes for updating an environment as described in the following. The deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the environment is deployed and updated with the new spec that you provide. Only requested
parameters are updated. Don’t include minor or major version parameters when you use this
deployment-type
.
MINOR_VERSION
In this mode, the environment 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 environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that is higher than the major version in use and a minor version (optional).
deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the environment is deployed and updated with the new spec that you provide. Only requested
parameters are updated. Don’t include minor or major version parameters when you use this
deployment-type
.
MINOR_VERSION
In this mode, the environment 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 environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that is higher than the major version in use and a minor version (optional).
DeploymentUpdateType
public UpdateEnvironmentRequest withDeploymentType(String deploymentType)
There are four modes for updating an environment as described in the following. The deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the environment is deployed and updated with the new spec that you provide. Only requested
parameters are updated. Don’t include minor or major version parameters when you use this
deployment-type
.
MINOR_VERSION
In this mode, the environment 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 environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that is higher than the major version in use and a minor version (optional).
deploymentType
- There are four modes for updating an environment as described in the following. The
deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the environment is deployed and updated with the new spec that you provide. Only requested
parameters are updated. Don’t include minor or major version parameters when you use this
deployment-type
.
MINOR_VERSION
In this mode, the environment 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 environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that is higher than the major version in use and a minor version (optional).
DeploymentUpdateType
public UpdateEnvironmentRequest withDeploymentType(DeploymentUpdateType deploymentType)
There are four modes for updating an environment as described in the following. The deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the environment is deployed and updated with the new spec that you provide. Only requested
parameters are updated. Don’t include minor or major version parameters when you use this
deployment-type
.
MINOR_VERSION
In this mode, the environment 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 environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that is higher than the major version in use and a minor version (optional).
deploymentType
- There are four modes for updating an environment as described in the following. The
deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the environment is deployed and updated with the new spec that you provide. Only requested
parameters are updated. Don’t include minor or major version parameters when you use this
deployment-type
.
MINOR_VERSION
In this mode, the environment 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 environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that is higher than the major version in use and a minor version (optional).
DeploymentUpdateType
public void setDescription(String description)
A description of the environment update.
description
- A description of the environment update.public String getDescription()
A description of the environment update.
public UpdateEnvironmentRequest withDescription(String description)
A description of the environment update.
description
- A description of the environment update.public void setEnvironmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection.
You can only update to a new environment account connection if it was created in the same environment account that the current environment account connection was created in and associated with the current environment.
environmentAccountConnectionId
- The ID of the environment account connection.
You can only update to a new environment account connection if it was created in the same environment account that the current environment account connection was created in and associated with the current environment.
public String getEnvironmentAccountConnectionId()
The ID of the environment account connection.
You can only update to a new environment account connection if it was created in the same environment account that the current environment account connection was created in and associated with the current environment.
You can only update to a new environment account connection if it was created in the same environment account that the current environment account connection was created in and associated with the current environment.
public UpdateEnvironmentRequest withEnvironmentAccountConnectionId(String environmentAccountConnectionId)
The ID of the environment account connection.
You can only update to a new environment account connection if it was created in the same environment account that the current environment account connection was created in and associated with the current environment.
environmentAccountConnectionId
- The ID of the environment account connection.
You can only update to a new environment account connection if it was created in the same environment account that the current environment account connection was created in and associated with the current environment.
public void setName(String name)
The name of the environment to update.
name
- The name of the environment to update.public String getName()
The name of the environment to update.
public UpdateEnvironmentRequest withName(String name)
The name of the environment to update.
name
- The name of the environment to update.public void setProtonServiceRoleArn(String protonServiceRoleArn)
The ARN of the AWS Proton service role that allows AWS Proton to make API calls to other services your behalf.
protonServiceRoleArn
- The ARN of the AWS Proton service role that allows AWS Proton to make API calls to other services your
behalf.public String getProtonServiceRoleArn()
The ARN of the AWS Proton service role that allows AWS Proton to make API calls to other services your behalf.
public UpdateEnvironmentRequest withProtonServiceRoleArn(String protonServiceRoleArn)
The ARN of the AWS Proton service role that allows AWS Proton to make API calls to other services your behalf.
protonServiceRoleArn
- The ARN of the AWS Proton service role that allows AWS Proton to make API calls to other services your
behalf.public void setSpec(String spec)
The formatted specification that defines the update.
spec
- The formatted specification that defines the update.public String getSpec()
The formatted specification that defines the update.
public UpdateEnvironmentRequest withSpec(String spec)
The formatted specification that defines the update.
spec
- The formatted specification that defines the update.public void setTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the environment to update.
templateMajorVersion
- The ID of the major version of the environment to update.public String getTemplateMajorVersion()
The ID of the major version of the environment to update.
public UpdateEnvironmentRequest withTemplateMajorVersion(String templateMajorVersion)
The ID of the major version of the environment to update.
templateMajorVersion
- The ID of the major version of the environment to update.public void setTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the environment to update.
templateMinorVersion
- The ID of the minor version of the environment to update.public String getTemplateMinorVersion()
The ID of the minor version of the environment to update.
public UpdateEnvironmentRequest withTemplateMinorVersion(String templateMinorVersion)
The ID of the minor version of the environment to update.
templateMinorVersion
- The ID of the minor version of the environment to update.public String toString()
toString
in class Object
Object.toString()
public UpdateEnvironmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()