@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkImpairment extends Object implements Serializable, Cloneable, StructuredPojo
Information about the network impairment for a specific network measured by Amazon CloudWatch Internet Monitor.
Constructor and Description |
---|
NetworkImpairment() |
Modifier and Type | Method and Description |
---|---|
NetworkImpairment |
clone() |
boolean |
equals(Object obj) |
List<Network> |
getAsPath()
The combination of the Autonomous System Number (ASN) of the network and the name of the network.
|
String |
getNetworkEventType()
The type of network impairment.
|
List<Network> |
getNetworks()
The networks that could be impacted by a network impairment event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAsPath(Collection<Network> asPath)
The combination of the Autonomous System Number (ASN) of the network and the name of the network.
|
void |
setNetworkEventType(String networkEventType)
The type of network impairment.
|
void |
setNetworks(Collection<Network> networks)
The networks that could be impacted by a network impairment event.
|
String |
toString()
Returns a string representation of this object.
|
NetworkImpairment |
withAsPath(Collection<Network> asPath)
The combination of the Autonomous System Number (ASN) of the network and the name of the network.
|
NetworkImpairment |
withAsPath(Network... asPath)
The combination of the Autonomous System Number (ASN) of the network and the name of the network.
|
NetworkImpairment |
withNetworkEventType(String networkEventType)
The type of network impairment.
|
NetworkImpairment |
withNetworkEventType(TriangulationEventType networkEventType)
The type of network impairment.
|
NetworkImpairment |
withNetworks(Collection<Network> networks)
The networks that could be impacted by a network impairment event.
|
NetworkImpairment |
withNetworks(Network... networks)
The networks that could be impacted by a network impairment event.
|
public List<Network> getNetworks()
The networks that could be impacted by a network impairment event.
public void setNetworks(Collection<Network> networks)
The networks that could be impacted by a network impairment event.
networks
- The networks that could be impacted by a network impairment event.public NetworkImpairment withNetworks(Network... networks)
The networks that could be impacted by a network impairment event.
NOTE: This method appends the values to the existing list (if any). Use
setNetworks(java.util.Collection)
or withNetworks(java.util.Collection)
if you want to override
the existing values.
networks
- The networks that could be impacted by a network impairment event.public NetworkImpairment withNetworks(Collection<Network> networks)
The networks that could be impacted by a network impairment event.
networks
- The networks that could be impacted by a network impairment event.public List<Network> getAsPath()
The combination of the Autonomous System Number (ASN) of the network and the name of the network.
public void setAsPath(Collection<Network> asPath)
The combination of the Autonomous System Number (ASN) of the network and the name of the network.
asPath
- The combination of the Autonomous System Number (ASN) of the network and the name of the network.public NetworkImpairment withAsPath(Network... asPath)
The combination of the Autonomous System Number (ASN) of the network and the name of the network.
NOTE: This method appends the values to the existing list (if any). Use
setAsPath(java.util.Collection)
or withAsPath(java.util.Collection)
if you want to override the
existing values.
asPath
- The combination of the Autonomous System Number (ASN) of the network and the name of the network.public NetworkImpairment withAsPath(Collection<Network> asPath)
The combination of the Autonomous System Number (ASN) of the network and the name of the network.
asPath
- The combination of the Autonomous System Number (ASN) of the network and the name of the network.public void setNetworkEventType(String networkEventType)
The type of network impairment.
networkEventType
- The type of network impairment.TriangulationEventType
public String getNetworkEventType()
The type of network impairment.
TriangulationEventType
public NetworkImpairment withNetworkEventType(String networkEventType)
The type of network impairment.
networkEventType
- The type of network impairment.TriangulationEventType
public NetworkImpairment withNetworkEventType(TriangulationEventType networkEventType)
The type of network impairment.
networkEventType
- The type of network impairment.TriangulationEventType
public String toString()
toString
in class Object
Object.toString()
public NetworkImpairment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.