@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EndpointFilter extends Object implements Serializable, Cloneable, StructuredPojo
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 |
---|---|
EndpointFilter |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTimeAfter()
Specifies a date after which the returned endpoint or endpoints were created.
|
Date |
getCreationTimeBefore()
Specifies a date before which the returned endpoint or endpoints were created.
|
String |
getModelArn()
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
|
String |
getStatus()
Specifies the status of the endpoint being returned.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTimeAfter(Date creationTimeAfter)
Specifies a date after which the returned endpoint or endpoints were created.
|
void |
setCreationTimeBefore(Date creationTimeBefore)
Specifies a date before which the returned endpoint or endpoints were created.
|
void |
setModelArn(String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
|
void |
setStatus(String status)
Specifies the status of the endpoint being returned.
|
String |
toString()
Returns a string representation of this object.
|
EndpointFilter |
withCreationTimeAfter(Date creationTimeAfter)
Specifies a date after which the returned endpoint or endpoints were created.
|
EndpointFilter |
withCreationTimeBefore(Date creationTimeBefore)
Specifies a date before which the returned endpoint or endpoints were created.
|
EndpointFilter |
withModelArn(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(String status)
Specifies the status of the endpoint being returned.
|
public void setModelArn(String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
modelArn
- The Amazon Resource Number (ARN) of the model to which the endpoint is attached.public String getModelArn()
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
public EndpointFilter withModelArn(String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint is attached.
modelArn
- The Amazon Resource Number (ARN) of the model to which the endpoint is attached.public void setStatus(String status)
Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
status
- Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating,
Deleting, Failed.EndpointStatus
public String getStatus()
Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
EndpointStatus
public EndpointFilter withStatus(String status)
Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.
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.
status
- Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating,
Deleting, Failed.EndpointStatus
public void setCreationTimeBefore(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 Date getCreationTimeBefore()
Specifies a date before which the returned endpoint or endpoints were created.
public EndpointFilter withCreationTimeBefore(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 void setCreationTimeAfter(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 Date getCreationTimeAfter()
Specifies a date after which the returned endpoint or endpoints were created.
public EndpointFilter withCreationTimeAfter(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 String toString()
toString
in class Object
Object.toString()
public EndpointFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.