Interface GetDeploymentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDeploymentsResponse.Builder,
,GetDeploymentsResponse> SagemakerEdgeResponse.Builder
,SdkBuilder<GetDeploymentsResponse.Builder,
,GetDeploymentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDeploymentsResponse
@Mutable
@NotThreadSafe
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
copy
Methods inherited from interface software.amazon.awssdk.services.sagemakeredge.model.SagemakerEdgeResponse.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, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaEdgeDeployment.builder()
.When the
Consumer
completes,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:
-