@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AgentConfig extends Object implements Serializable, Cloneable, StructuredPojo
The distribution of agents between the instance and its replica(s).
| Constructor and Description |
|---|
AgentConfig() |
| Modifier and Type | Method and Description |
|---|---|
AgentConfig |
clone() |
boolean |
equals(Object obj) |
List<Distribution> |
getDistributions()
Information about traffic distributions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDistributions(Collection<Distribution> distributions)
Information about traffic distributions.
|
String |
toString()
Returns a string representation of this object.
|
AgentConfig |
withDistributions(Collection<Distribution> distributions)
Information about traffic distributions.
|
AgentConfig |
withDistributions(Distribution... distributions)
Information about traffic distributions.
|
public List<Distribution> getDistributions()
Information about traffic distributions.
public void setDistributions(Collection<Distribution> distributions)
Information about traffic distributions.
distributions - Information about traffic distributions.public AgentConfig withDistributions(Distribution... distributions)
Information about traffic distributions.
NOTE: This method appends the values to the existing list (if any). Use
setDistributions(java.util.Collection) or withDistributions(java.util.Collection) if you want
to override the existing values.
distributions - Information about traffic distributions.public AgentConfig withDistributions(Collection<Distribution> distributions)
Information about traffic distributions.
distributions - Information about traffic distributions.public String toString()
toString in class ObjectObject.toString()public AgentConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.