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 SummaryModifier 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 previousListModelPackageGroupsrequest 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
creationTimeAfterA 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.
 
- 
creationTimeBeforeA 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.
 
- 
maxResultsThe 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.
 
- 
nameContainsA 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.
 
- 
nextTokenIf the result of the previous ListModelPackageGroupsrequest 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 previous- ListModelPackageGroupsrequest was truncated, the response includes a- NextToken. 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.
 
- 
sortByThe field to sort results by. The default is CreationTime.- Parameters:
- sortBy- The field to sort results by. The default is- CreationTime.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sortByThe field to sort results by. The default is CreationTime.- Parameters:
- sortBy- The field to sort results by. The default is- CreationTime.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sortOrderThe sort order for results. The default is Ascending.- Parameters:
- sortOrder- The sort order for results. The default is- Ascending.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sortOrderThe sort order for results. The default is Ascending.- Parameters:
- sortOrder- The sort order for results. The default is- Ascending.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
crossAccountFilterOptionA 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 isSameAccountornull, 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 is- CrossAccount, the results show the resources made discoverable to you from other accounts. When the value is- SameAccountor- null, the results show resources from your account. The default is- SameAccount.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
crossAccountFilterOptionListModelPackageGroupsRequest.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 isSameAccountornull, 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 is- CrossAccount, the results show the resources made discoverable to you from other accounts. When the value is- SameAccountor- null, the results show resources from your account. The default is- SameAccount.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationListModelPackageGroupsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationListModelPackageGroupsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-