@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Network extends Object implements Serializable, Cloneable, StructuredPojo
An internet service provider (ISP) or network in Amazon CloudWatch Internet Monitor.
Constructor and Description |
---|
Network() |
Modifier and Type | Method and Description |
---|---|
Network |
clone() |
boolean |
equals(Object obj) |
String |
getASName()
The internet provider name or network name.
|
Long |
getASNumber()
The Autonomous System Number (ASN) of the internet provider or network.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setASName(String aSName)
The internet provider name or network name.
|
void |
setASNumber(Long aSNumber)
The Autonomous System Number (ASN) of the internet provider or network.
|
String |
toString()
Returns a string representation of this object.
|
Network |
withASName(String aSName)
The internet provider name or network name.
|
Network |
withASNumber(Long aSNumber)
The Autonomous System Number (ASN) of the internet provider or network.
|
public void setASName(String aSName)
The internet provider name or network name.
aSName
- The internet provider name or network name.public String getASName()
The internet provider name or network name.
public Network withASName(String aSName)
The internet provider name or network name.
aSName
- The internet provider name or network name.public void setASNumber(Long aSNumber)
The Autonomous System Number (ASN) of the internet provider or network.
aSNumber
- The Autonomous System Number (ASN) of the internet provider or network.public Long getASNumber()
The Autonomous System Number (ASN) of the internet provider or network.
public Network withASNumber(Long aSNumber)
The Autonomous System Number (ASN) of the internet provider or network.
aSNumber
- The Autonomous System Number (ASN) of the internet provider or network.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.