Interface UpdateServicePipelineRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateServicePipelineRequest.Builder,
,UpdateServicePipelineRequest> ProtonRequest.Builder
,SdkBuilder<UpdateServicePipelineRequest.Builder,
,UpdateServicePipelineRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateServicePipelineRequest
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentType
(String deploymentType) The deployment type.deploymentType
(DeploymentUpdateType deploymentType) The deployment type.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serviceName
(String serviceName) The name of the service to that the pipeline is associated with.The spec for the service pipeline to update.templateMajorVersion
(String templateMajorVersion) The major version of the service template that was used to create the service that the pipeline is associated with.templateMinorVersion
(String templateMinorVersion) The minor version of the service template that was used to create the service that the pipeline is associated with.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
deploymentType
The deployment type.
There are four modes for updating a service pipeline. 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 service pipeline 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 pipeline is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can specify a different minor version of the current major version in use.
-
MAJOR_VERSION
In this mode, the service pipeline 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.
- Parameters:
deploymentType
- The deployment type.There are four modes for updating a service pipeline. 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 service pipeline 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 pipeline is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can specify a different minor version of the current major version in use.
-
MAJOR_VERSION
In this mode, the service pipeline 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
deploymentType
The deployment type.
There are four modes for updating a service pipeline. 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 service pipeline 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 pipeline is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can specify a different minor version of the current major version in use.
-
MAJOR_VERSION
In this mode, the service pipeline 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.
- Parameters:
deploymentType
- The deployment type.There are four modes for updating a service pipeline. 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 service pipeline 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 pipeline is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can specify a different minor version of the current major version in use.
-
MAJOR_VERSION
In this mode, the service pipeline 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
serviceName
The name of the service to that the pipeline is associated with.
- Parameters:
serviceName
- The name of the service to that the pipeline is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spec
The spec for the service pipeline to update.
- Parameters:
spec
- The spec for the service pipeline to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateMajorVersion
The major version of the service template that was used to create the service that the pipeline is associated with.
- Parameters:
templateMajorVersion
- The major version of the service template that was used to create the service that the pipeline is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateMinorVersion
The minor version of the service template that was used to create the service that the pipeline is associated with.
- Parameters:
templateMinorVersion
- The minor version of the service template that was used to create the service that the pipeline is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateServicePipelineRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateServicePipelineRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-