Interface DeploymentState.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeploymentState.Builder,DeploymentState>,SdkBuilder<DeploymentState.Builder,DeploymentState>,SdkPojo
- Enclosing class:
- DeploymentState
public static interface DeploymentState.Builder extends SdkPojo, CopyableBuilder<DeploymentState.Builder,DeploymentState>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DeploymentState.Buildercomponent(Consumer<ComponentState.Builder> component)The state of the component associated with the deployment.DeploymentState.Buildercomponent(ComponentState component)The state of the component associated with the deployment.default DeploymentState.Builderenvironment(Consumer<EnvironmentState.Builder> environment)The state of the environment associated with the deployment.DeploymentState.Builderenvironment(EnvironmentState environment)The state of the environment associated with the deployment.default DeploymentState.BuilderserviceInstance(Consumer<ServiceInstanceState.Builder> serviceInstance)The state of the service instance associated with the deployment.DeploymentState.BuilderserviceInstance(ServiceInstanceState serviceInstance)The state of the service instance associated with the deployment.default DeploymentState.BuilderservicePipeline(Consumer<ServicePipelineState.Builder> servicePipeline)The state of the service pipeline associated with the deployment.DeploymentState.BuilderservicePipeline(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, sdkFields
-
-
-
-
Method Detail
-
component
DeploymentState.Builder component(ComponentState 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
default DeploymentState.Builder component(Consumer<ComponentState.Builder> component)
The state of the component associated with the deployment.
This is a convenience method that creates an instance of theComponentState.Builderavoiding the need to create one manually viaComponentState.builder().When the
Consumercompletes,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:
component(ComponentState)
-
environment
DeploymentState.Builder environment(EnvironmentState 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
default DeploymentState.Builder environment(Consumer<EnvironmentState.Builder> environment)
The state of the environment associated with the deployment.
This is a convenience method that creates an instance of theEnvironmentState.Builderavoiding the need to create one manually viaEnvironmentState.builder().When the
Consumercompletes,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:
environment(EnvironmentState)
-
serviceInstance
DeploymentState.Builder serviceInstance(ServiceInstanceState 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.Builderavoiding the need to create one manually viaServiceInstanceState.builder().When the
Consumercompletes,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:
serviceInstance(ServiceInstanceState)
-
servicePipeline
DeploymentState.Builder servicePipeline(ServicePipelineState 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.Builderavoiding the need to create one manually viaServicePipelineState.builder().When the
Consumercompletes,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:
servicePipeline(ServicePipelineState)
-
-