@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CoreNetworkSegment extends Object implements Serializable, Cloneable, StructuredPojo
Describes a core network segment, which are dedicated routes. Only attachments within this segment can communicate with each other.
Constructor and Description |
---|
CoreNetworkSegment() |
Modifier and Type | Method and Description |
---|---|
CoreNetworkSegment |
clone() |
boolean |
equals(Object obj) |
List<String> |
getEdgeLocations()
The Regions where the edges are located.
|
String |
getName()
The name of a core network segment.
|
List<String> |
getSharedSegments()
The shared segments of a core network.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEdgeLocations(Collection<String> edgeLocations)
The Regions where the edges are located.
|
void |
setName(String name)
The name of a core network segment.
|
void |
setSharedSegments(Collection<String> sharedSegments)
The shared segments of a core network.
|
String |
toString()
Returns a string representation of this object.
|
CoreNetworkSegment |
withEdgeLocations(Collection<String> edgeLocations)
The Regions where the edges are located.
|
CoreNetworkSegment |
withEdgeLocations(String... edgeLocations)
The Regions where the edges are located.
|
CoreNetworkSegment |
withName(String name)
The name of a core network segment.
|
CoreNetworkSegment |
withSharedSegments(Collection<String> sharedSegments)
The shared segments of a core network.
|
CoreNetworkSegment |
withSharedSegments(String... sharedSegments)
The shared segments of a core network.
|
public void setName(String name)
The name of a core network segment.
name
- The name of a core network segment.public String getName()
The name of a core network segment.
public CoreNetworkSegment withName(String name)
The name of a core network segment.
name
- The name of a core network segment.public List<String> getEdgeLocations()
The Regions where the edges are located.
public void setEdgeLocations(Collection<String> edgeLocations)
The Regions where the edges are located.
edgeLocations
- The Regions where the edges are located.public CoreNetworkSegment withEdgeLocations(String... edgeLocations)
The Regions where the edges are located.
NOTE: This method appends the values to the existing list (if any). Use
setEdgeLocations(java.util.Collection)
or withEdgeLocations(java.util.Collection)
if you want
to override the existing values.
edgeLocations
- The Regions where the edges are located.public CoreNetworkSegment withEdgeLocations(Collection<String> edgeLocations)
The Regions where the edges are located.
edgeLocations
- The Regions where the edges are located.public List<String> getSharedSegments()
The shared segments of a core network.
public void setSharedSegments(Collection<String> sharedSegments)
The shared segments of a core network.
sharedSegments
- The shared segments of a core network.public CoreNetworkSegment withSharedSegments(String... sharedSegments)
The shared segments of a core network.
NOTE: This method appends the values to the existing list (if any). Use
setSharedSegments(java.util.Collection)
or withSharedSegments(java.util.Collection)
if you want
to override the existing values.
sharedSegments
- The shared segments of a core network.public CoreNetworkSegment withSharedSegments(Collection<String> sharedSegments)
The shared segments of a core network.
sharedSegments
- The shared segments of a core network.public String toString()
toString
in class Object
Object.toString()
public CoreNetworkSegment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.