public class EndpointFilter
extends java.lang.Object
implements java.io.Serializable
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.
Constructor and Description |
---|
EndpointFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationTimeAfter()
Specifies a date after which the returned endpoint or endpoints were
created.
|
java.util.Date |
getCreationTimeBefore()
Specifies a date before which the returned endpoint or endpoints were
created.
|
java.lang.String |
getModelArn()
The Amazon Resource Number (ARN) of the model to which the endpoint is
attached.
|
java.lang.String |
getStatus()
Specifies the status of the endpoint being returned.
|
int |
hashCode() |
void |
setCreationTimeAfter(java.util.Date creationTimeAfter)
Specifies a date after which the returned endpoint or endpoints were
created.
|
void |
setCreationTimeBefore(java.util.Date creationTimeBefore)
Specifies a date before which the returned endpoint or endpoints were
created.
|
void |
setModelArn(java.lang.String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint is
attached.
|
void |
setStatus(EndpointStatus status)
Specifies the status of the endpoint being returned.
|
void |
setStatus(java.lang.String status)
Specifies the status of the endpoint being returned.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EndpointFilter |
withCreationTimeAfter(java.util.Date creationTimeAfter)
Specifies a date after which the returned endpoint or endpoints were
created.
|
EndpointFilter |
withCreationTimeBefore(java.util.Date creationTimeBefore)
Specifies a date before which the returned endpoint or endpoints were
created.
|
EndpointFilter |
withModelArn(java.lang.String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint is
attached.
|
EndpointFilter |
withStatus(EndpointStatus status)
Specifies the status of the endpoint being returned.
|
EndpointFilter |
withStatus(java.lang.String status)
Specifies the status of the endpoint being returned.
|
public java.lang.String getModelArn()
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:(document
-classifier|entity-recognizer)/[a-zA-Z0-9](-*[a-zA-Z0-9])*
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
public void setModelArn(java.lang.String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:(document
-classifier|entity-recognizer)/[a-zA-Z0-9](-*[a-zA-Z0-9])*
modelArn
- The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
public EndpointFilter withModelArn(java.lang.String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:(document
-classifier|entity-recognizer)/[a-zA-Z0-9](-*[a-zA-Z0-9])*
modelArn
- The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
public java.lang.String getStatus()
Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
Constraints:
Allowed Values: CREATING, DELETING, FAILED, IN_SERVICE, UPDATING
Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
EndpointStatus
public void setStatus(java.lang.String status)
Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
Constraints:
Allowed Values: CREATING, DELETING, FAILED, IN_SERVICE, UPDATING
status
- Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
EndpointStatus
public EndpointFilter withStatus(java.lang.String status)
Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, DELETING, FAILED, IN_SERVICE, UPDATING
status
- Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
EndpointStatus
public void setStatus(EndpointStatus status)
Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
Constraints:
Allowed Values: CREATING, DELETING, FAILED, IN_SERVICE, UPDATING
status
- Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
EndpointStatus
public EndpointFilter withStatus(EndpointStatus status)
Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, DELETING, FAILED, IN_SERVICE, UPDATING
status
- Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
EndpointStatus
public java.util.Date getCreationTimeBefore()
Specifies a date before which the returned endpoint or endpoints were created.
Specifies a date before which the returned endpoint or endpoints were created.
public void setCreationTimeBefore(java.util.Date creationTimeBefore)
Specifies a date before which the returned endpoint or endpoints were created.
creationTimeBefore
- Specifies a date before which the returned endpoint or endpoints were created.
public EndpointFilter withCreationTimeBefore(java.util.Date creationTimeBefore)
Specifies a date before which the returned endpoint or endpoints were created.
Returns a reference to this object so that method calls can be chained together.
creationTimeBefore
- Specifies a date before which the returned endpoint or endpoints were created.
public java.util.Date getCreationTimeAfter()
Specifies a date after which the returned endpoint or endpoints were created.
Specifies a date after which the returned endpoint or endpoints were created.
public void setCreationTimeAfter(java.util.Date creationTimeAfter)
Specifies a date after which the returned endpoint or endpoints were created.
creationTimeAfter
- Specifies a date after which the returned endpoint or endpoints were created.
public EndpointFilter withCreationTimeAfter(java.util.Date creationTimeAfter)
Specifies a date after which the returned endpoint or endpoints were created.
Returns a reference to this object so that method calls can be chained together.
creationTimeAfter
- Specifies a date after which the returned endpoint or endpoints were created.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.