Interface ListModelPackageGroupsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListModelPackageGroupsRequest.Builder,
,ListModelPackageGroupsRequest> SageMakerRequest.Builder
,SdkBuilder<ListModelPackageGroupsRequest.Builder,
,ListModelPackageGroupsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListModelPackageGroupsRequest
-
Method Summary
Modifier and TypeMethodDescriptioncreationTimeAfter
(Instant creationTimeAfter) A filter that returns only model groups created after the specified time.creationTimeBefore
(Instant creationTimeBefore) A filter that returns only model groups created before the specified time.crossAccountFilterOption
(String crossAccountFilterOption) A filter that returns either model groups shared with you or model groups in your own account.crossAccountFilterOption
(CrossAccountFilterOption crossAccountFilterOption) A filter that returns either model groups shared with you or model groups in your own account.maxResults
(Integer maxResults) The maximum number of results to return in the response.nameContains
(String nameContains) A string in the model group name.If the result of the previousListModelPackageGroups
request 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.The field to sort results by.sortBy
(ModelPackageGroupSortBy sortBy) The field to sort results by.The sort order for results.The sort order for results.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
creationTimeAfter
A filter that returns only model groups created after the specified time.
- Parameters:
creationTimeAfter
- A filter that returns only model groups created after the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeBefore
A filter that returns only model groups created before the specified time.
- Parameters:
creationTimeBefore
- A filter that returns only model groups created before the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return in the response.
- Parameters:
maxResults
- The maximum number of results to return in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nameContains
A string in the model group name. This filter returns only model groups whose name contains the specified string.
- Parameters:
nameContains
- A string in the model group name. This filter returns only model groups whose name contains the specified string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If the result of the previous
ListModelPackageGroups
request was truncated, the response includes aNextToken
. To retrieve the next set of model groups, use the token in the next request.- Parameters:
nextToken
- If the result of the previousListModelPackageGroups
request was truncated, the response includes aNextToken
. To retrieve the next set of model groups, use the token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
The field to sort results by. The default is
CreationTime
.- Parameters:
sortBy
- The field to sort results by. The default isCreationTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
The field to sort results by. The default is
CreationTime
.- Parameters:
sortBy
- The field to sort results by. The default isCreationTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order for results. The default is
Ascending
.- Parameters:
sortOrder
- The sort order for results. The default isAscending
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order for results. The default is
Ascending
.- Parameters:
sortOrder
- The sort order for results. The default isAscending
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
crossAccountFilterOption
A filter that returns either model groups shared with you or model groups in your own account. When the value is
CrossAccount
, the results show the resources made discoverable to you from other accounts. When the value isSameAccount
ornull
, the results show resources from your account. The default isSameAccount
.- Parameters:
crossAccountFilterOption
- A filter that returns either model groups shared with you or model groups in your own account. When the value isCrossAccount
, the results show the resources made discoverable to you from other accounts. When the value isSameAccount
ornull
, the results show resources from your account. The default isSameAccount
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
crossAccountFilterOption
ListModelPackageGroupsRequest.Builder crossAccountFilterOption(CrossAccountFilterOption crossAccountFilterOption) A filter that returns either model groups shared with you or model groups in your own account. When the value is
CrossAccount
, the results show the resources made discoverable to you from other accounts. When the value isSameAccount
ornull
, the results show resources from your account. The default isSameAccount
.- Parameters:
crossAccountFilterOption
- A filter that returns either model groups shared with you or model groups in your own account. When the value isCrossAccount
, the results show the resources made discoverable to you from other accounts. When the value isSameAccount
ornull
, the results show resources from your account. The default isSameAccount
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListModelPackageGroupsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListModelPackageGroupsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-