Interface ListInferenceGatewaysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListInferenceGatewaysResponse.Builder,,ListInferenceGatewaysResponse> SageMakerResponse.Builder,SdkBuilder<ListInferenceGatewaysResponse.Builder,,ListInferenceGatewaysResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListInferenceGatewaysResponse
@Mutable
@NotThreadSafe
public static interface ListInferenceGatewaysResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListInferenceGatewaysResponse.Builder,ListInferenceGatewaysResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninferenceGatewaySummaries(Collection<GlobalInferenceGatewayMemberSummary> inferenceGatewaySummaries) The summaries of the in-cluster inference gateways, in the order that they were added.inferenceGatewaySummaries(Consumer<GlobalInferenceGatewayMemberSummary.Builder>... inferenceGatewaySummaries) The summaries of the in-cluster inference gateways, in the order that they were added.inferenceGatewaySummaries(GlobalInferenceGatewayMemberSummary... inferenceGatewaySummaries) The summaries of the in-cluster inference gateways, in the order that they were added.If the result of the previousListInferenceGatewaysrequest was truncated, the response includes aNextToken.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
inferenceGatewaySummaries
ListInferenceGatewaysResponse.Builder inferenceGatewaySummaries(Collection<GlobalInferenceGatewayMemberSummary> inferenceGatewaySummaries) The summaries of the in-cluster inference gateways, in the order that they were added.
- Parameters:
inferenceGatewaySummaries- The summaries of the in-cluster inference gateways, in the order that they were added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceGatewaySummaries
ListInferenceGatewaysResponse.Builder inferenceGatewaySummaries(GlobalInferenceGatewayMemberSummary... inferenceGatewaySummaries) The summaries of the in-cluster inference gateways, in the order that they were added.
- Parameters:
inferenceGatewaySummaries- The summaries of the in-cluster inference gateways, in the order that they were added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceGatewaySummaries
ListInferenceGatewaysResponse.Builder inferenceGatewaySummaries(Consumer<GlobalInferenceGatewayMemberSummary.Builder>... inferenceGatewaySummaries) The summaries of the in-cluster inference gateways, in the order that they were added.
This is a convenience method that creates an instance of theGlobalInferenceGatewayMemberSummary.Builderavoiding the need to create one manually viaGlobalInferenceGatewayMemberSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinferenceGatewaySummaries(List<GlobalInferenceGatewayMemberSummary>).- Parameters:
inferenceGatewaySummaries- a consumer that will call methods onGlobalInferenceGatewayMemberSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the result of the previous
ListInferenceGatewaysrequest was truncated, the response includes aNextToken. To retrieve the next set of in-cluster inference gateways, use the token in the next request.- Parameters:
nextToken- If the result of the previousListInferenceGatewaysrequest was truncated, the response includes aNextToken. To retrieve the next set of in-cluster inference gateways, use the token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-