Interface ListGlobalInferenceGatewaysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGlobalInferenceGatewaysResponse.Builder,,ListGlobalInferenceGatewaysResponse> SageMakerResponse.Builder,SdkBuilder<ListGlobalInferenceGatewaysResponse.Builder,,ListGlobalInferenceGatewaysResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListGlobalInferenceGatewaysResponse
@Mutable
@NotThreadSafe
public static interface ListGlobalInferenceGatewaysResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListGlobalInferenceGatewaysResponse.Builder,ListGlobalInferenceGatewaysResponse>
-
Method Summary
Modifier and TypeMethodDescriptionglobalInferenceGatewaySummaries(Collection<GlobalInferenceGatewaySummary> globalInferenceGatewaySummaries) The summaries of the global inference gateways.globalInferenceGatewaySummaries(Consumer<GlobalInferenceGatewaySummary.Builder>... globalInferenceGatewaySummaries) The summaries of the global inference gateways.globalInferenceGatewaySummaries(GlobalInferenceGatewaySummary... globalInferenceGatewaySummaries) The summaries of the global inference gateways.If the result of the previousListGlobalInferenceGatewaysrequest 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
-
globalInferenceGatewaySummaries
ListGlobalInferenceGatewaysResponse.Builder globalInferenceGatewaySummaries(Collection<GlobalInferenceGatewaySummary> globalInferenceGatewaySummaries) The summaries of the global inference gateways.
- Parameters:
globalInferenceGatewaySummaries- The summaries of the global inference gateways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalInferenceGatewaySummaries
ListGlobalInferenceGatewaysResponse.Builder globalInferenceGatewaySummaries(GlobalInferenceGatewaySummary... globalInferenceGatewaySummaries) The summaries of the global inference gateways.
- Parameters:
globalInferenceGatewaySummaries- The summaries of the global inference gateways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalInferenceGatewaySummaries
ListGlobalInferenceGatewaysResponse.Builder globalInferenceGatewaySummaries(Consumer<GlobalInferenceGatewaySummary.Builder>... globalInferenceGatewaySummaries) The summaries of the global inference gateways.
This is a convenience method that creates an instance of theGlobalInferenceGatewaySummary.Builderavoiding the need to create one manually viaGlobalInferenceGatewaySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toglobalInferenceGatewaySummaries(List<GlobalInferenceGatewaySummary>).- Parameters:
globalInferenceGatewaySummaries- a consumer that will call methods onGlobalInferenceGatewaySummary.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
ListGlobalInferenceGatewaysrequest was truncated, the response includes aNextToken. To retrieve the next set of global inference gateways, use the token in the next request.- Parameters:
nextToken- If the result of the previousListGlobalInferenceGatewaysrequest was truncated, the response includes aNextToken. To retrieve the next set of global inference gateways, use the token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-