Interface GetDeploymentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDeploymentsResponse.Builder,,GetDeploymentsResponse> SagemakerEdgeResponse.Builder,SdkBuilder<GetDeploymentsResponse.Builder,,GetDeploymentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDeploymentsResponse
public static interface GetDeploymentsResponse.Builder
extends SagemakerEdgeResponse.Builder, SdkPojo, CopyableBuilder<GetDeploymentsResponse.Builder,GetDeploymentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeployments(Collection<EdgeDeployment> deployments) Returns a list of the configurations of the active deployments on the device.deployments(Consumer<EdgeDeployment.Builder>... deployments) Returns a list of the configurations of the active deployments on the device.deployments(EdgeDeployment... deployments) Returns a list of the configurations of the active deployments on the device.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemakeredge.model.SagemakerEdgeResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
deployments
Returns a list of the configurations of the active deployments on the device.
- Parameters:
deployments- Returns a list of the configurations of the active deployments on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
Returns a list of the configurations of the active deployments on the device.
- Parameters:
deployments- Returns a list of the configurations of the active deployments on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deployments
Returns a list of the configurations of the active deployments on the device.
This is a convenience method that creates an instance of theEdgeDeployment.Builderavoiding the need to create one manually viaEdgeDeployment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeployments(List<EdgeDeployment>).- Parameters:
deployments- a consumer that will call methods onEdgeDeployment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-