@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdaptersConfig extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about adapters used when analyzing a document, with each adapter specified using an AdapterId and version
Constructor and Description |
---|
AdaptersConfig() |
Modifier and Type | Method and Description |
---|---|
AdaptersConfig |
clone() |
boolean |
equals(Object obj) |
List<Adapter> |
getAdapters()
A list of adapters to be used when analyzing the specified document.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdapters(Collection<Adapter> adapters)
A list of adapters to be used when analyzing the specified document.
|
String |
toString()
Returns a string representation of this object.
|
AdaptersConfig |
withAdapters(Adapter... adapters)
A list of adapters to be used when analyzing the specified document.
|
AdaptersConfig |
withAdapters(Collection<Adapter> adapters)
A list of adapters to be used when analyzing the specified document.
|
public List<Adapter> getAdapters()
A list of adapters to be used when analyzing the specified document.
public void setAdapters(Collection<Adapter> adapters)
A list of adapters to be used when analyzing the specified document.
adapters
- A list of adapters to be used when analyzing the specified document.public AdaptersConfig withAdapters(Adapter... adapters)
A list of adapters to be used when analyzing the specified document.
NOTE: This method appends the values to the existing list (if any). Use
setAdapters(java.util.Collection)
or withAdapters(java.util.Collection)
if you want to override
the existing values.
adapters
- A list of adapters to be used when analyzing the specified document.public AdaptersConfig withAdapters(Collection<Adapter> adapters)
A list of adapters to be used when analyzing the specified document.
adapters
- A list of adapters to be used when analyzing the specified document.public String toString()
toString
in class Object
Object.toString()
public AdaptersConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.