Interface DeploymentState.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeploymentState.Builder,
,DeploymentState> SdkBuilder<DeploymentState.Builder,
,DeploymentState> SdkPojo
- Enclosing class:
DeploymentState
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeploymentState.Builder
component
(Consumer<ComponentState.Builder> component) The state of the component associated with the deployment.component
(ComponentState component) The state of the component associated with the deployment.default DeploymentState.Builder
environment
(Consumer<EnvironmentState.Builder> environment) The state of the environment associated with the deployment.environment
(EnvironmentState environment) The state of the environment associated with the deployment.default DeploymentState.Builder
serviceInstance
(Consumer<ServiceInstanceState.Builder> serviceInstance) The state of the service instance associated with the deployment.serviceInstance
(ServiceInstanceState serviceInstance) The state of the service instance associated with the deployment.default DeploymentState.Builder
servicePipeline
(Consumer<ServicePipelineState.Builder> servicePipeline) The state of the service pipeline associated with the deployment.servicePipeline
(ServicePipelineState servicePipeline) The state of the service pipeline associated with the deployment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
component
The state of the component associated with the deployment.
- Parameters:
component
- The state of the component associated with the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
component
The state of the component associated with the deployment.
This is a convenience method that creates an instance of theComponentState.Builder
avoiding the need to create one manually viaComponentState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomponent(ComponentState)
.- Parameters:
component
- a consumer that will call methods onComponentState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environment
The state of the environment associated with the deployment.
- Parameters:
environment
- The state of the environment associated with the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
The state of the environment associated with the deployment.
This is a convenience method that creates an instance of theEnvironmentState.Builder
avoiding the need to create one manually viaEnvironmentState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenvironment(EnvironmentState)
.- Parameters:
environment
- a consumer that will call methods onEnvironmentState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceInstance
The state of the service instance associated with the deployment.
- Parameters:
serviceInstance
- The state of the service instance associated with the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceInstance
default DeploymentState.Builder serviceInstance(Consumer<ServiceInstanceState.Builder> serviceInstance) The state of the service instance associated with the deployment.
This is a convenience method that creates an instance of theServiceInstanceState.Builder
avoiding the need to create one manually viaServiceInstanceState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserviceInstance(ServiceInstanceState)
.- Parameters:
serviceInstance
- a consumer that will call methods onServiceInstanceState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
servicePipeline
The state of the service pipeline associated with the deployment.
- Parameters:
servicePipeline
- The state of the service pipeline associated with the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
servicePipeline
default DeploymentState.Builder servicePipeline(Consumer<ServicePipelineState.Builder> servicePipeline) The state of the service pipeline associated with the deployment.
This is a convenience method that creates an instance of theServicePipelineState.Builder
avoiding the need to create one manually viaServicePipelineState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toservicePipeline(ServicePipelineState)
.- Parameters:
servicePipeline
- a consumer that will call methods onServicePipelineState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-