@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CoreNetworkEdge extends Object implements Serializable, Cloneable, StructuredPojo
Describes a core network edge.
Constructor and Description |
---|
CoreNetworkEdge() |
Modifier and Type | Method and Description |
---|---|
CoreNetworkEdge |
clone() |
boolean |
equals(Object obj) |
Long |
getAsn()
The ASN of a core network edge.
|
String |
getEdgeLocation()
The Region where a core network edge is located.
|
List<String> |
getInsideCidrBlocks()
The inside IP addresses used for core network edges.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAsn(Long asn)
The ASN of a core network edge.
|
void |
setEdgeLocation(String edgeLocation)
The Region where a core network edge is located.
|
void |
setInsideCidrBlocks(Collection<String> insideCidrBlocks)
The inside IP addresses used for core network edges.
|
String |
toString()
Returns a string representation of this object.
|
CoreNetworkEdge |
withAsn(Long asn)
The ASN of a core network edge.
|
CoreNetworkEdge |
withEdgeLocation(String edgeLocation)
The Region where a core network edge is located.
|
CoreNetworkEdge |
withInsideCidrBlocks(Collection<String> insideCidrBlocks)
The inside IP addresses used for core network edges.
|
CoreNetworkEdge |
withInsideCidrBlocks(String... insideCidrBlocks)
The inside IP addresses used for core network edges.
|
public void setEdgeLocation(String edgeLocation)
The Region where a core network edge is located.
edgeLocation
- The Region where a core network edge is located.public String getEdgeLocation()
The Region where a core network edge is located.
public CoreNetworkEdge withEdgeLocation(String edgeLocation)
The Region where a core network edge is located.
edgeLocation
- The Region where a core network edge is located.public void setAsn(Long asn)
The ASN of a core network edge.
asn
- The ASN of a core network edge.public Long getAsn()
The ASN of a core network edge.
public CoreNetworkEdge withAsn(Long asn)
The ASN of a core network edge.
asn
- The ASN of a core network edge.public List<String> getInsideCidrBlocks()
The inside IP addresses used for core network edges.
public void setInsideCidrBlocks(Collection<String> insideCidrBlocks)
The inside IP addresses used for core network edges.
insideCidrBlocks
- The inside IP addresses used for core network edges.public CoreNetworkEdge withInsideCidrBlocks(String... insideCidrBlocks)
The inside IP addresses used for core network edges.
NOTE: This method appends the values to the existing list (if any). Use
setInsideCidrBlocks(java.util.Collection)
or withInsideCidrBlocks(java.util.Collection)
if you
want to override the existing values.
insideCidrBlocks
- The inside IP addresses used for core network edges.public CoreNetworkEdge withInsideCidrBlocks(Collection<String> insideCidrBlocks)
The inside IP addresses used for core network edges.
insideCidrBlocks
- The inside IP addresses used for core network edges.public String toString()
toString
in class Object
Object.toString()
public CoreNetworkEdge clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.