Interface GetDeploymentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDeploymentResponse.Builder,GetDeploymentResponse>,ProtonResponse.Builder,SdkBuilder<GetDeploymentResponse.Builder,GetDeploymentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDeploymentResponse
public static interface GetDeploymentResponse.Builder extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<GetDeploymentResponse.Builder,GetDeploymentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetDeploymentResponse.Builderdeployment(Consumer<Deployment.Builder> deployment)The detailed data of the requested deployment.GetDeploymentResponse.Builderdeployment(Deployment deployment)The detailed data of the requested deployment.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
deployment
GetDeploymentResponse.Builder deployment(Deployment deployment)
The detailed data of the requested deployment.
- Parameters:
deployment- The detailed data of the requested deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployment
default GetDeploymentResponse.Builder deployment(Consumer<Deployment.Builder> deployment)
The detailed data of the requested deployment.
This is a convenience method that creates an instance of theDeployment.Builderavoiding the need to create one manually viaDeployment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeployment(Deployment).- Parameters:
deployment- a consumer that will call methods onDeployment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deployment(Deployment)
-
-