@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Bandwidth extends Object implements Serializable, Cloneable, StructuredPojo
Describes bandwidth information.
Constructor and Description |
---|
Bandwidth() |
Modifier and Type | Method and Description |
---|---|
Bandwidth |
clone() |
boolean |
equals(Object obj) |
Integer |
getDownloadSpeed()
Download speed in Mbps.
|
Integer |
getUploadSpeed()
Upload speed in Mbps.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDownloadSpeed(Integer downloadSpeed)
Download speed in Mbps.
|
void |
setUploadSpeed(Integer uploadSpeed)
Upload speed in Mbps.
|
String |
toString()
Returns a string representation of this object.
|
Bandwidth |
withDownloadSpeed(Integer downloadSpeed)
Download speed in Mbps.
|
Bandwidth |
withUploadSpeed(Integer uploadSpeed)
Upload speed in Mbps.
|
public void setUploadSpeed(Integer uploadSpeed)
Upload speed in Mbps.
uploadSpeed
- Upload speed in Mbps.public Integer getUploadSpeed()
Upload speed in Mbps.
public Bandwidth withUploadSpeed(Integer uploadSpeed)
Upload speed in Mbps.
uploadSpeed
- Upload speed in Mbps.public void setDownloadSpeed(Integer downloadSpeed)
Download speed in Mbps.
downloadSpeed
- Download speed in Mbps.public Integer getDownloadSpeed()
Download speed in Mbps.
public Bandwidth withDownloadSpeed(Integer downloadSpeed)
Download speed in Mbps.
downloadSpeed
- Download speed in Mbps.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.