Interface ListInferenceGatewaysRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListInferenceGatewaysRequest.Builder,,ListInferenceGatewaysRequest> SageMakerRequest.Builder,SdkBuilder<ListInferenceGatewaysRequest.Builder,,ListInferenceGatewaysRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListInferenceGatewaysRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe filters to apply to the results.filters(Consumer<GlobalInferenceGatewayMemberFilter.Builder>... filters) The filters to apply to the results.filters(GlobalInferenceGatewayMemberFilter... filters) The filters to apply to the results.identifier(String identifier) The name, Amazon Resource Name (ARN), or ID of the global inference gateway.maxResults(Integer maxResults) The maximum number of in-cluster inference gateways to return in the response.If the result of the previousListInferenceGatewaysrequest was truncated, the response includes aNextToken.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
identifier
The name, Amazon Resource Name (ARN), or ID of the global inference gateway.
- Parameters:
identifier- The name, Amazon Resource Name (ARN), or ID of the global inference gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListInferenceGatewaysRequest.Builder filters(Collection<GlobalInferenceGatewayMemberFilter> filters) The filters to apply to the results. You can filter by
StatusandClusterArn. Multiple filters are combined with a logical AND.- Parameters:
filters- The filters to apply to the results. You can filter byStatusandClusterArn. Multiple filters are combined with a logical AND.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The filters to apply to the results. You can filter by
StatusandClusterArn. Multiple filters are combined with a logical AND.- Parameters:
filters- The filters to apply to the results. You can filter byStatusandClusterArn. Multiple filters are combined with a logical AND.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListInferenceGatewaysRequest.Builder filters(Consumer<GlobalInferenceGatewayMemberFilter.Builder>... filters) The filters to apply to the results. You can filter by
This is a convenience method that creates an instance of theStatusandClusterArn. Multiple filters are combined with a logical AND.GlobalInferenceGatewayMemberFilter.Builderavoiding the need to create one manually viaGlobalInferenceGatewayMemberFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<GlobalInferenceGatewayMemberFilter>).- Parameters:
filters- a consumer that will call methods onGlobalInferenceGatewayMemberFilter.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.
-
maxResults
The maximum number of in-cluster inference gateways to return in the response.
- Parameters:
maxResults- The maximum number of in-cluster inference gateways to return in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListInferenceGatewaysRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListInferenceGatewaysRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-