Class EndpointFilter
- java.lang.Object
-
- software.amazon.awssdk.services.comprehend.model.EndpointFilter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EndpointFilter.Builder,EndpointFilter>
@Generated("software.amazon.awssdk:codegen") public final class EndpointFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EndpointFilter.Builder,EndpointFilter>
The filter used to determine which endpoints are returned. You can filter jobs on their name, model, status, or the date and time that they were created. You can only set one filter at a time.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEndpointFilter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EndpointFilter.Builderbuilder()InstantcreationTimeAfter()Specifies a date after which the returned endpoint or endpoints were created.InstantcreationTimeBefore()Specifies a date before which the returned endpoint or endpoints were created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmodelArn()The Amazon Resource Number (ARN) of the model to which the endpoint is attached.List<SdkField<?>>sdkFields()static Class<? extends EndpointFilter.Builder>serializableBuilderClass()EndpointStatusstatus()Specifies the status of the endpoint being returned.StringstatusAsString()Specifies the status of the endpoint being returned.EndpointFilter.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
modelArn
public final String modelArn()
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
- Returns:
- The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
-
status
public final EndpointStatus status()
Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEndpointStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
- See Also:
EndpointStatus
-
statusAsString
public final String statusAsString()
Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEndpointStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
- See Also:
EndpointStatus
-
creationTimeBefore
public final Instant creationTimeBefore()
Specifies a date before which the returned endpoint or endpoints were created.
- Returns:
- Specifies a date before which the returned endpoint or endpoints were created.
-
creationTimeAfter
public final Instant creationTimeAfter()
Specifies a date after which the returned endpoint or endpoints were created.
- Returns:
- Specifies a date after which the returned endpoint or endpoints were created.
-
toBuilder
public EndpointFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EndpointFilter.Builder,EndpointFilter>
-
builder
public static EndpointFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends EndpointFilter.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-