@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GeneralLabelsSettings extends Object implements Serializable, Cloneable, StructuredPojo
Contains filters for the object labels returned by DetectLabels. Filters can be inclusive, exclusive, or a combination of both and can be applied to individual labels or entire label categories. To see a list of label categories, see Detecting Labels.
Constructor and Description |
---|
GeneralLabelsSettings() |
Modifier and Type | Method and Description |
---|---|
GeneralLabelsSettings |
clone() |
boolean |
equals(Object obj) |
List<String> |
getLabelCategoryExclusionFilters()
The label categories that should be excluded from the return from DetectLabels.
|
List<String> |
getLabelCategoryInclusionFilters()
The label categories that should be included in the return from DetectLabels.
|
List<String> |
getLabelExclusionFilters()
The labels that should be excluded from the return from DetectLabels.
|
List<String> |
getLabelInclusionFilters()
The labels that should be included in the return from DetectLabels.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLabelCategoryExclusionFilters(Collection<String> labelCategoryExclusionFilters)
The label categories that should be excluded from the return from DetectLabels.
|
void |
setLabelCategoryInclusionFilters(Collection<String> labelCategoryInclusionFilters)
The label categories that should be included in the return from DetectLabels.
|
void |
setLabelExclusionFilters(Collection<String> labelExclusionFilters)
The labels that should be excluded from the return from DetectLabels.
|
void |
setLabelInclusionFilters(Collection<String> labelInclusionFilters)
The labels that should be included in the return from DetectLabels.
|
String |
toString()
Returns a string representation of this object.
|
GeneralLabelsSettings |
withLabelCategoryExclusionFilters(Collection<String> labelCategoryExclusionFilters)
The label categories that should be excluded from the return from DetectLabels.
|
GeneralLabelsSettings |
withLabelCategoryExclusionFilters(String... labelCategoryExclusionFilters)
The label categories that should be excluded from the return from DetectLabels.
|
GeneralLabelsSettings |
withLabelCategoryInclusionFilters(Collection<String> labelCategoryInclusionFilters)
The label categories that should be included in the return from DetectLabels.
|
GeneralLabelsSettings |
withLabelCategoryInclusionFilters(String... labelCategoryInclusionFilters)
The label categories that should be included in the return from DetectLabels.
|
GeneralLabelsSettings |
withLabelExclusionFilters(Collection<String> labelExclusionFilters)
The labels that should be excluded from the return from DetectLabels.
|
GeneralLabelsSettings |
withLabelExclusionFilters(String... labelExclusionFilters)
The labels that should be excluded from the return from DetectLabels.
|
GeneralLabelsSettings |
withLabelInclusionFilters(Collection<String> labelInclusionFilters)
The labels that should be included in the return from DetectLabels.
|
GeneralLabelsSettings |
withLabelInclusionFilters(String... labelInclusionFilters)
The labels that should be included in the return from DetectLabels.
|
public List<String> getLabelInclusionFilters()
The labels that should be included in the return from DetectLabels.
public void setLabelInclusionFilters(Collection<String> labelInclusionFilters)
The labels that should be included in the return from DetectLabels.
labelInclusionFilters
- The labels that should be included in the return from DetectLabels.public GeneralLabelsSettings withLabelInclusionFilters(String... labelInclusionFilters)
The labels that should be included in the return from DetectLabels.
NOTE: This method appends the values to the existing list (if any). Use
setLabelInclusionFilters(java.util.Collection)
or
withLabelInclusionFilters(java.util.Collection)
if you want to override the existing values.
labelInclusionFilters
- The labels that should be included in the return from DetectLabels.public GeneralLabelsSettings withLabelInclusionFilters(Collection<String> labelInclusionFilters)
The labels that should be included in the return from DetectLabels.
labelInclusionFilters
- The labels that should be included in the return from DetectLabels.public List<String> getLabelExclusionFilters()
The labels that should be excluded from the return from DetectLabels.
public void setLabelExclusionFilters(Collection<String> labelExclusionFilters)
The labels that should be excluded from the return from DetectLabels.
labelExclusionFilters
- The labels that should be excluded from the return from DetectLabels.public GeneralLabelsSettings withLabelExclusionFilters(String... labelExclusionFilters)
The labels that should be excluded from the return from DetectLabels.
NOTE: This method appends the values to the existing list (if any). Use
setLabelExclusionFilters(java.util.Collection)
or
withLabelExclusionFilters(java.util.Collection)
if you want to override the existing values.
labelExclusionFilters
- The labels that should be excluded from the return from DetectLabels.public GeneralLabelsSettings withLabelExclusionFilters(Collection<String> labelExclusionFilters)
The labels that should be excluded from the return from DetectLabels.
labelExclusionFilters
- The labels that should be excluded from the return from DetectLabels.public List<String> getLabelCategoryInclusionFilters()
The label categories that should be included in the return from DetectLabels.
public void setLabelCategoryInclusionFilters(Collection<String> labelCategoryInclusionFilters)
The label categories that should be included in the return from DetectLabels.
labelCategoryInclusionFilters
- The label categories that should be included in the return from DetectLabels.public GeneralLabelsSettings withLabelCategoryInclusionFilters(String... labelCategoryInclusionFilters)
The label categories that should be included in the return from DetectLabels.
NOTE: This method appends the values to the existing list (if any). Use
setLabelCategoryInclusionFilters(java.util.Collection)
or
withLabelCategoryInclusionFilters(java.util.Collection)
if you want to override the existing values.
labelCategoryInclusionFilters
- The label categories that should be included in the return from DetectLabels.public GeneralLabelsSettings withLabelCategoryInclusionFilters(Collection<String> labelCategoryInclusionFilters)
The label categories that should be included in the return from DetectLabels.
labelCategoryInclusionFilters
- The label categories that should be included in the return from DetectLabels.public List<String> getLabelCategoryExclusionFilters()
The label categories that should be excluded from the return from DetectLabels.
public void setLabelCategoryExclusionFilters(Collection<String> labelCategoryExclusionFilters)
The label categories that should be excluded from the return from DetectLabels.
labelCategoryExclusionFilters
- The label categories that should be excluded from the return from DetectLabels.public GeneralLabelsSettings withLabelCategoryExclusionFilters(String... labelCategoryExclusionFilters)
The label categories that should be excluded from the return from DetectLabels.
NOTE: This method appends the values to the existing list (if any). Use
setLabelCategoryExclusionFilters(java.util.Collection)
or
withLabelCategoryExclusionFilters(java.util.Collection)
if you want to override the existing values.
labelCategoryExclusionFilters
- The label categories that should be excluded from the return from DetectLabels.public GeneralLabelsSettings withLabelCategoryExclusionFilters(Collection<String> labelCategoryExclusionFilters)
The label categories that should be excluded from the return from DetectLabels.
labelCategoryExclusionFilters
- The label categories that should be excluded from the return from DetectLabels.public String toString()
toString
in class Object
Object.toString()
public GeneralLabelsSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.