Interface ListModelPackageGroupsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListModelPackageGroupsRequest.Builder,ListModelPackageGroupsRequest>, SageMakerRequest.Builder, SdkBuilder<ListModelPackageGroupsRequest.Builder,ListModelPackageGroupsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListModelPackageGroupsRequest

public static interface ListModelPackageGroupsRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<ListModelPackageGroupsRequest.Builder,ListModelPackageGroupsRequest>
  • Method Details

    • creationTimeAfter

      ListModelPackageGroupsRequest.Builder creationTimeAfter(Instant 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

      ListModelPackageGroupsRequest.Builder creationTimeBefore(Instant 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

      ListModelPackageGroupsRequest.Builder nameContains(String 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 a NextToken. To retrieve the next set of model groups, use the token in the next request.

      Parameters:
      nextToken - If the result of the previous ListModelPackageGroups request 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.
    • sortBy

      The 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:
    • sortBy

      The 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:
    • sortOrder

      The 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:
    • sortOrder

      The 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:
    • crossAccountFilterOption

      ListModelPackageGroupsRequest.Builder crossAccountFilterOption(String 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 SameAccount or null, the results show resources from your account. The default is SameAccount.

      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 SameAccount or 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:
    • 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 is SameAccount or null, the results show resources from your account. The default is SameAccount.

      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 SameAccount or 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:
    • overrideConfiguration

      ListModelPackageGroupsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.