@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageScanFindingsFilter extends Object implements Serializable, Cloneable, StructuredPojo
A name value pair that Image Builder applies to streamline results from the vulnerability scan findings list action.
Constructor and Description |
---|
ImageScanFindingsFilter() |
Modifier and Type | Method and Description |
---|---|
ImageScanFindingsFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the image scan finding filter.
|
List<String> |
getValues()
The filter values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the image scan finding filter.
|
void |
setValues(Collection<String> values)
The filter values.
|
String |
toString()
Returns a string representation of this object.
|
ImageScanFindingsFilter |
withName(String name)
The name of the image scan finding filter.
|
ImageScanFindingsFilter |
withValues(Collection<String> values)
The filter values.
|
ImageScanFindingsFilter |
withValues(String... values)
The filter values.
|
public void setName(String name)
The name of the image scan finding filter. Filter names are case-sensitive.
name
- The name of the image scan finding filter. Filter names are case-sensitive.public String getName()
The name of the image scan finding filter. Filter names are case-sensitive.
public ImageScanFindingsFilter withName(String name)
The name of the image scan finding filter. Filter names are case-sensitive.
name
- The name of the image scan finding filter. Filter names are case-sensitive.public List<String> getValues()
The filter values. Filter values are case-sensitive.
public void setValues(Collection<String> values)
The filter values. Filter values are case-sensitive.
values
- The filter values. Filter values are case-sensitive.public ImageScanFindingsFilter withValues(String... values)
The filter values. Filter values are case-sensitive.
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 filter values. Filter values are case-sensitive.public ImageScanFindingsFilter withValues(Collection<String> values)
The filter values. Filter values are case-sensitive.
values
- The filter values. Filter values are case-sensitive.public String toString()
toString
in class Object
Object.toString()
public ImageScanFindingsFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.