@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobFilter extends Object implements Serializable, Cloneable, StructuredPojo
Describes a filter that returns a more specific list of recommendation export jobs.
This filter is used with the DescribeRecommendationExportJobs action.
| Constructor and Description |
|---|
JobFilter() |
| Modifier and Type | Method and Description |
|---|---|
JobFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the filter.
|
List<String> |
getValues()
The value of the filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
The name of the filter.
|
void |
setValues(Collection<String> values)
The value of the filter.
|
String |
toString()
Returns a string representation of this object.
|
JobFilter |
withName(JobFilterName name)
The name of the filter.
|
JobFilter |
withName(String name)
The name of the filter.
|
JobFilter |
withValues(Collection<String> values)
The value of the filter.
|
JobFilter |
withValues(String... values)
The value of the filter.
|
public void setName(String name)
The name of the filter.
Specify ResourceType to return export jobs of a specific resource type (e.g.,
Ec2Instance).
Specify JobStatus to return export jobs with a specific status (e.g, Complete).
name - The name of the filter.
Specify ResourceType to return export jobs of a specific resource type (e.g.,
Ec2Instance).
Specify JobStatus to return export jobs with a specific status (e.g, Complete).
JobFilterNamepublic String getName()
The name of the filter.
Specify ResourceType to return export jobs of a specific resource type (e.g.,
Ec2Instance).
Specify JobStatus to return export jobs with a specific status (e.g, Complete).
Specify ResourceType to return export jobs of a specific resource type (e.g.,
Ec2Instance).
Specify JobStatus to return export jobs with a specific status (e.g, Complete).
JobFilterNamepublic JobFilter withName(String name)
The name of the filter.
Specify ResourceType to return export jobs of a specific resource type (e.g.,
Ec2Instance).
Specify JobStatus to return export jobs with a specific status (e.g, Complete).
name - The name of the filter.
Specify ResourceType to return export jobs of a specific resource type (e.g.,
Ec2Instance).
Specify JobStatus to return export jobs with a specific status (e.g, Complete).
JobFilterNamepublic JobFilter withName(JobFilterName name)
The name of the filter.
Specify ResourceType to return export jobs of a specific resource type (e.g.,
Ec2Instance).
Specify JobStatus to return export jobs with a specific status (e.g, Complete).
name - The name of the filter.
Specify ResourceType to return export jobs of a specific resource type (e.g.,
Ec2Instance).
Specify JobStatus to return export jobs with a specific status (e.g, Complete).
JobFilterNamepublic List<String> getValues()
The value of the filter.
If you specify the name parameter as ResourceType, the valid values are
Ec2Instance or AutoScalingGroup.
If you specify the name parameter as JobStatus, the valid values are
Queued, InProgress, Complete, or Failed.
If you specify the name parameter as ResourceType, the valid values are
Ec2Instance or AutoScalingGroup.
If you specify the name parameter as JobStatus, the valid values are
Queued, InProgress, Complete, or Failed.
public void setValues(Collection<String> values)
The value of the filter.
If you specify the name parameter as ResourceType, the valid values are
Ec2Instance or AutoScalingGroup.
If you specify the name parameter as JobStatus, the valid values are
Queued, InProgress, Complete, or Failed.
values - The value of the filter.
If you specify the name parameter as ResourceType, the valid values are
Ec2Instance or AutoScalingGroup.
If you specify the name parameter as JobStatus, the valid values are
Queued, InProgress, Complete, or Failed.
public JobFilter withValues(String... values)
The value of the filter.
If you specify the name parameter as ResourceType, the valid values are
Ec2Instance or AutoScalingGroup.
If you specify the name parameter as JobStatus, the valid values are
Queued, InProgress, Complete, or Failed.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the
existing values.
values - The value of the filter.
If you specify the name parameter as ResourceType, the valid values are
Ec2Instance or AutoScalingGroup.
If you specify the name parameter as JobStatus, the valid values are
Queued, InProgress, Complete, or Failed.
public JobFilter withValues(Collection<String> values)
The value of the filter.
If you specify the name parameter as ResourceType, the valid values are
Ec2Instance or AutoScalingGroup.
If you specify the name parameter as JobStatus, the valid values are
Queued, InProgress, Complete, or Failed.
values - The value of the filter.
If you specify the name parameter as ResourceType, the valid values are
Ec2Instance or AutoScalingGroup.
If you specify the name parameter as JobStatus, the valid values are
Queued, InProgress, Complete, or Failed.
public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.