@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Distribution extends Object implements Serializable, Cloneable, StructuredPojo
Information about a traffic distribution.
Constructor and Description |
---|
Distribution() |
Modifier and Type | Method and Description |
---|---|
Distribution |
clone() |
boolean |
equals(Object obj) |
Integer |
getPercentage()
The percentage of the traffic that is distributed, in increments of 10.
|
String |
getRegion()
The Amazon Web Services Region where the traffic is distributed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPercentage(Integer percentage)
The percentage of the traffic that is distributed, in increments of 10.
|
void |
setRegion(String region)
The Amazon Web Services Region where the traffic is distributed.
|
String |
toString()
Returns a string representation of this object.
|
Distribution |
withPercentage(Integer percentage)
The percentage of the traffic that is distributed, in increments of 10.
|
Distribution |
withRegion(String region)
The Amazon Web Services Region where the traffic is distributed.
|
public void setRegion(String region)
The Amazon Web Services Region where the traffic is distributed.
region
- The Amazon Web Services Region where the traffic is distributed.public String getRegion()
The Amazon Web Services Region where the traffic is distributed.
public Distribution withRegion(String region)
The Amazon Web Services Region where the traffic is distributed.
region
- The Amazon Web Services Region where the traffic is distributed.public void setPercentage(Integer percentage)
The percentage of the traffic that is distributed, in increments of 10.
percentage
- The percentage of the traffic that is distributed, in increments of 10.public Integer getPercentage()
The percentage of the traffic that is distributed, in increments of 10.
public Distribution withPercentage(Integer percentage)
The percentage of the traffic that is distributed, in increments of 10.
percentage
- The percentage of the traffic that is distributed, in increments of 10.public String toString()
toString
in class Object
Object.toString()
public Distribution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.