@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. Use this filter with the DescribeRecommendationExportJobs action.
You can use EBSFilter with the GetEBSVolumeRecommendations action,
LambdaFunctionRecommendationFilter with the GetLambdaFunctionRecommendations action, and
Filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations
actions.
| 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 (for example,
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 (for example,
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 (for example,
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 (for example,
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 (for example,
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 (for example,
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 (for example,
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 (for example,
Ec2Instance).
Specify JobStatus to return export jobs with a specific status (e.g, Complete).
JobFilterNamepublic List<String> getValues()
The value of the filter.
The valid values for this parameter are as follows, depending on what you specify for the name
parameter:
Specify Ec2Instance or AutoScalingGroup if you specify the name parameter
as ResourceType. There is no filter for EBS volumes because volume recommendations cannot be
exported at this time.
Specify Queued, InProgress, Complete, or Failed if you
specify the name parameter as JobStatus.
The valid values for this parameter are as follows, depending on what you specify for the
name parameter:
Specify Ec2Instance or AutoScalingGroup if you specify the name
parameter as ResourceType. There is no filter for EBS volumes because volume recommendations
cannot be exported at this time.
Specify Queued, InProgress, Complete, or Failed if
you specify the name parameter as JobStatus.
public void setValues(Collection<String> values)
The value of the filter.
The valid values for this parameter are as follows, depending on what you specify for the name
parameter:
Specify Ec2Instance or AutoScalingGroup if you specify the name parameter
as ResourceType. There is no filter for EBS volumes because volume recommendations cannot be
exported at this time.
Specify Queued, InProgress, Complete, or Failed if you
specify the name parameter as JobStatus.
values - The value of the filter.
The valid values for this parameter are as follows, depending on what you specify for the
name parameter:
Specify Ec2Instance or AutoScalingGroup if you specify the name
parameter as ResourceType. There is no filter for EBS volumes because volume recommendations
cannot be exported at this time.
Specify Queued, InProgress, Complete, or Failed if you
specify the name parameter as JobStatus.
public JobFilter withValues(String... values)
The value of the filter.
The valid values for this parameter are as follows, depending on what you specify for the name
parameter:
Specify Ec2Instance or AutoScalingGroup if you specify the name parameter
as ResourceType. There is no filter for EBS volumes because volume recommendations cannot be
exported at this time.
Specify Queued, InProgress, Complete, or Failed if you
specify the name parameter as JobStatus.
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.
The valid values for this parameter are as follows, depending on what you specify for the
name parameter:
Specify Ec2Instance or AutoScalingGroup if you specify the name
parameter as ResourceType. There is no filter for EBS volumes because volume recommendations
cannot be exported at this time.
Specify Queued, InProgress, Complete, or Failed if you
specify the name parameter as JobStatus.
public JobFilter withValues(Collection<String> values)
The value of the filter.
The valid values for this parameter are as follows, depending on what you specify for the name
parameter:
Specify Ec2Instance or AutoScalingGroup if you specify the name parameter
as ResourceType. There is no filter for EBS volumes because volume recommendations cannot be
exported at this time.
Specify Queued, InProgress, Complete, or Failed if you
specify the name parameter as JobStatus.
values - The value of the filter.
The valid values for this parameter are as follows, depending on what you specify for the
name parameter:
Specify Ec2Instance or AutoScalingGroup if you specify the name
parameter as ResourceType. There is no filter for EBS volumes because volume recommendations
cannot be exported at this time.
Specify Queued, InProgress, Complete, or Failed if you
specify the name parameter as JobStatus.
public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.