@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 |
getCodebuildRoleArn()
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using
CodeBuild-based provisioning on your behalf.
|
String |
getComponentRoleArn()
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in this environment.
|
String |
getDeploymentType()
There are four modes for updating an environment.
|
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 Amazon Resource Name (ARN) of the Proton service role that allows Proton to make API calls to other services
your behalf.
|
RepositoryBranchInput |
getProvisioningRepository()
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning.
|
String |
getSpec()
The formatted specification that defines the update.
|
String |
getTemplateMajorVersion()
The major version of the environment to update.
|
String |
getTemplateMinorVersion()
The minor version of the environment to update.
|
int |
hashCode() |
void |
setCodebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using
CodeBuild-based provisioning on your behalf.
|
void |
setComponentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in this environment.
|
void |
setDeploymentType(String deploymentType)
There are four modes for updating an environment.
|
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 Amazon Resource Name (ARN) of the Proton service role that allows Proton to make API calls to other services
your behalf.
|
void |
setProvisioningRepository(RepositoryBranchInput provisioningRepository)
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning.
|
void |
setSpec(String spec)
The formatted specification that defines the update.
|
void |
setTemplateMajorVersion(String templateMajorVersion)
The major version of the environment to update.
|
void |
setTemplateMinorVersion(String templateMinorVersion)
The minor version of the environment to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEnvironmentRequest |
withCodebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using
CodeBuild-based provisioning on your behalf.
|
UpdateEnvironmentRequest |
withComponentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in this environment.
|
UpdateEnvironmentRequest |
withDeploymentType(DeploymentUpdateType deploymentType)
There are four modes for updating an environment.
|
UpdateEnvironmentRequest |
withDeploymentType(String deploymentType)
There are four modes for updating an environment.
|
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 Amazon Resource Name (ARN) of the Proton service role that allows Proton to make API calls to other services
your behalf.
|
UpdateEnvironmentRequest |
withProvisioningRepository(RepositoryBranchInput provisioningRepository)
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning.
|
UpdateEnvironmentRequest |
withSpec(String spec)
The formatted specification that defines the update.
|
UpdateEnvironmentRequest |
withTemplateMajorVersion(String templateMajorVersion)
The major version of the environment to update.
|
UpdateEnvironmentRequest |
withTemplateMinorVersion(String templateMinorVersion)
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 setCodebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
codebuildRoleArn
- The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure
using CodeBuild-based provisioning on your behalf.public String getCodebuildRoleArn()
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
public UpdateEnvironmentRequest withCodebuildRoleArn(String codebuildRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
codebuildRoleArn
- The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure
using CodeBuild-based provisioning on your behalf.public void setComponentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision.
The environment must have a componentRoleArn
to allow directly defined components to be associated
with the environment.
For more information about components, see Proton components in the Proton User Guide.
componentRoleArn
- The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in this environment. It determines the scope of infrastructure that a component can
provision.
The environment must have a componentRoleArn
to allow directly defined components to be
associated with the environment.
For more information about components, see Proton components in the Proton User Guide.
public String getComponentRoleArn()
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision.
The environment must have a componentRoleArn
to allow directly defined components to be associated
with the environment.
For more information about components, see Proton components in the Proton User Guide.
The environment must have a componentRoleArn
to allow directly defined components to be
associated with the environment.
For more information about components, see Proton components in the Proton User Guide.
public UpdateEnvironmentRequest withComponentRoleArn(String componentRoleArn)
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision.
The environment must have a componentRoleArn
to allow directly defined components to be associated
with the environment.
For more information about components, see Proton components in the Proton User Guide.
componentRoleArn
- The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined
components in this environment. It determines the scope of infrastructure that a component can
provision.
The environment must have a componentRoleArn
to allow directly defined components to be
associated with the environment.
For more information about components, see Proton components in the Proton User Guide.
public void setDeploymentType(String deploymentType)
There are four modes for updating an environment. 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 major or minor 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. 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 major or minor 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. 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 major or minor 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 major or minor 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. 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 major or minor 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. 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 major or minor 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. 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 major or minor 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. 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 major or minor 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 is 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 is 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 is 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 is 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 is 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 is 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 Amazon Resource Name (ARN) of the Proton service role that allows Proton to make API calls to other services your behalf.
protonServiceRoleArn
- The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make API calls to other
services your behalf.public String getProtonServiceRoleArn()
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make API calls to other services your behalf.
public UpdateEnvironmentRequest withProtonServiceRoleArn(String protonServiceRoleArn)
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make API calls to other services your behalf.
protonServiceRoleArn
- The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make API calls to other
services your behalf.public void setProvisioningRepository(RepositoryBranchInput provisioningRepository)
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
provisioningRepository
- The linked repository that you use to host your rendered infrastructure templates for self-managed
provisioning. A linked repository is a repository that has been registered with Proton. For more
information, see CreateRepository.public RepositoryBranchInput getProvisioningRepository()
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
public UpdateEnvironmentRequest withProvisioningRepository(RepositoryBranchInput provisioningRepository)
The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
provisioningRepository
- The linked repository that you use to host your rendered infrastructure templates for self-managed
provisioning. A linked repository is a repository that has been registered with Proton. For more
information, see CreateRepository.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 major version of the environment to update.
templateMajorVersion
- The major version of the environment to update.public String getTemplateMajorVersion()
The major version of the environment to update.
public UpdateEnvironmentRequest withTemplateMajorVersion(String templateMajorVersion)
The major version of the environment to update.
templateMajorVersion
- The major version of the environment to update.public void setTemplateMinorVersion(String templateMinorVersion)
The minor version of the environment to update.
templateMinorVersion
- The minor version of the environment to update.public String getTemplateMinorVersion()
The minor version of the environment to update.
public UpdateEnvironmentRequest withTemplateMinorVersion(String templateMinorVersion)
The minor version of the environment to update.
templateMinorVersion
- 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()