@Generated(value="software.amazon.awssdk:codegen") public final class ListContextsRequest extends SageMakerRequest implements ToCopyableBuilder<ListContextsRequest.Builder,ListContextsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ListContextsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListContextsRequest.Builder |
builder() |
String |
contextType()
A filter that returns only contexts of the specified type.
|
Instant |
createdAfter()
A filter that returns only contexts created on or after the specified time.
|
Instant |
createdBefore()
A filter that returns only contexts created on or before the specified time.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of contexts to return in the response.
|
String |
nextToken()
If the previous call to
ListContexts didn't return the full set of contexts, the call returns a
token for getting the next set of contexts. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListContextsRequest.Builder> |
serializableBuilderClass() |
SortContextsBy |
sortBy()
The property used to sort results.
|
String |
sortByAsString()
The property used to sort results.
|
SortOrder |
sortOrder()
The sort order.
|
String |
sortOrderAsString()
The sort order.
|
String |
sourceUri()
A filter that returns only contexts with the specified source URI.
|
ListContextsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String sourceUri()
A filter that returns only contexts with the specified source URI.
public final String contextType()
A filter that returns only contexts of the specified type.
public final Instant createdAfter()
A filter that returns only contexts created on or after the specified time.
public final Instant createdBefore()
A filter that returns only contexts created on or before the specified time.
public final SortContextsBy sortBy()
The property used to sort results. The default value is CreationTime
.
If the service returns an enum value that is not available in the current SDK version, sortBy
will
return SortContextsBy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sortByAsString()
.
CreationTime
.SortContextsBy
public final String sortByAsString()
The property used to sort results. The default value is CreationTime
.
If the service returns an enum value that is not available in the current SDK version, sortBy
will
return SortContextsBy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sortByAsString()
.
CreationTime
.SortContextsBy
public final SortOrder sortOrder()
The sort order. The default value is Descending
.
If the service returns an enum value that is not available in the current SDK version, sortOrder
will
return SortOrder.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sortOrderAsString()
.
Descending
.SortOrder
public final String sortOrderAsString()
The sort order. The default value is Descending
.
If the service returns an enum value that is not available in the current SDK version, sortOrder
will
return SortOrder.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sortOrderAsString()
.
Descending
.SortOrder
public final String nextToken()
If the previous call to ListContexts
didn't return the full set of contexts, the call returns a
token for getting the next set of contexts.
ListContexts
didn't return the full set of contexts, the call
returns a token for getting the next set of contexts.public final Integer maxResults()
The maximum number of contexts to return in the response. The default value is 10.
public ListContextsRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ListContextsRequest.Builder,ListContextsRequest>
toBuilder
in class SageMakerRequest
public static ListContextsRequest.Builder builder()
public static Class<? extends ListContextsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.