@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 (ASN) in Amazon CloudWatch Internet Monitor.
Constructor and Description |
---|
Network() |
Modifier and Type | Method and Description |
---|---|
Network |
clone() |
boolean |
equals(Object obj) |
String |
getASName()
The name of the internet service provider (ISP) or network (ASN).
|
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 name of the internet service provider (ISP) or network (ASN).
|
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 name of the internet service provider (ISP) or network (ASN).
|
Network |
withASNumber(Long aSNumber)
The Autonomous System Number (ASN) of the internet provider or network.
|
public void setASName(String aSName)
The name of the internet service provider (ISP) or network (ASN).
aSName
- The name of the internet service provider (ISP) or network (ASN).public String getASName()
The name of the internet service provider (ISP) or network (ASN).
public Network withASName(String aSName)
The name of the internet service provider (ISP) or network (ASN).
aSName
- The name of the internet service provider (ISP) or network (ASN).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.