Interface DeploymentState.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeploymentState.Builder,,DeploymentState> SdkBuilder<DeploymentState.Builder,,DeploymentState> SdkPojo
- Enclosing class:
DeploymentState
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeploymentState.Buildercomponent(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.Builderenvironment(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.BuilderserviceInstance(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.BuilderservicePipeline(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.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:
-
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.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:
-
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:
-
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:
-