@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Lag extends Object implements Serializable, Cloneable, StructuredPojo
Describes a link aggregation group (LAG). A LAG is a connection that uses the Link Aggregation Control Protocol (LACP) to logically aggregate a bundle of physical connections. Like an interconnect, it can host other connections. All connections in a LAG must terminate on the same physical AWS Direct Connect endpoint, and must be the same bandwidth.
Constructor and Description |
---|
Lag() |
Modifier and Type | Method and Description |
---|---|
Lag |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowsHostedConnections()
Indicates whether the LAG can host other connections.
|
String |
getAwsDevice()
The AWS Direct Connection endpoint that hosts the LAG.
|
List<Connection> |
getConnections()
A list of connections bundled by this LAG.
|
String |
getConnectionsBandwidth()
The individual bandwidth of the physical connections bundled by the LAG.
|
String |
getLagId() |
String |
getLagName()
The name of the LAG.
|
String |
getLagState() |
String |
getLocation() |
Integer |
getMinimumLinks()
The minimum number of physical connections that must be operational for the LAG itself to be operational.
|
Integer |
getNumberOfConnections()
The number of physical connections bundled by the LAG, up to a maximum of 10.
|
String |
getOwnerAccount()
The owner of the LAG.
|
String |
getRegion() |
int |
hashCode() |
Boolean |
isAllowsHostedConnections()
Indicates whether the LAG can host other connections.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowsHostedConnections(Boolean allowsHostedConnections)
Indicates whether the LAG can host other connections.
|
void |
setAwsDevice(String awsDevice)
The AWS Direct Connection endpoint that hosts the LAG.
|
void |
setConnections(Collection<Connection> connections)
A list of connections bundled by this LAG.
|
void |
setConnectionsBandwidth(String connectionsBandwidth)
The individual bandwidth of the physical connections bundled by the LAG.
|
void |
setLagId(String lagId) |
void |
setLagName(String lagName)
The name of the LAG.
|
void |
setLagState(LagState lagState) |
void |
setLagState(String lagState) |
void |
setLocation(String location) |
void |
setMinimumLinks(Integer minimumLinks)
The minimum number of physical connections that must be operational for the LAG itself to be operational.
|
void |
setNumberOfConnections(Integer numberOfConnections)
The number of physical connections bundled by the LAG, up to a maximum of 10.
|
void |
setOwnerAccount(String ownerAccount)
The owner of the LAG.
|
void |
setRegion(String region) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Lag |
withAllowsHostedConnections(Boolean allowsHostedConnections)
Indicates whether the LAG can host other connections.
|
Lag |
withAwsDevice(String awsDevice)
The AWS Direct Connection endpoint that hosts the LAG.
|
Lag |
withConnections(Collection<Connection> connections)
A list of connections bundled by this LAG.
|
Lag |
withConnections(Connection... connections)
A list of connections bundled by this LAG.
|
Lag |
withConnectionsBandwidth(String connectionsBandwidth)
The individual bandwidth of the physical connections bundled by the LAG.
|
Lag |
withLagId(String lagId) |
Lag |
withLagName(String lagName)
The name of the LAG.
|
Lag |
withLagState(LagState lagState) |
Lag |
withLagState(String lagState) |
Lag |
withLocation(String location) |
Lag |
withMinimumLinks(Integer minimumLinks)
The minimum number of physical connections that must be operational for the LAG itself to be operational.
|
Lag |
withNumberOfConnections(Integer numberOfConnections)
The number of physical connections bundled by the LAG, up to a maximum of 10.
|
Lag |
withOwnerAccount(String ownerAccount)
The owner of the LAG.
|
Lag |
withRegion(String region) |
public void setConnectionsBandwidth(String connectionsBandwidth)
The individual bandwidth of the physical connections bundled by the LAG.
Available values: 1Gbps, 10Gbps
connectionsBandwidth
- The individual bandwidth of the physical connections bundled by the LAG.
Available values: 1Gbps, 10Gbps
public String getConnectionsBandwidth()
The individual bandwidth of the physical connections bundled by the LAG.
Available values: 1Gbps, 10Gbps
Available values: 1Gbps, 10Gbps
public Lag withConnectionsBandwidth(String connectionsBandwidth)
The individual bandwidth of the physical connections bundled by the LAG.
Available values: 1Gbps, 10Gbps
connectionsBandwidth
- The individual bandwidth of the physical connections bundled by the LAG.
Available values: 1Gbps, 10Gbps
public void setNumberOfConnections(Integer numberOfConnections)
The number of physical connections bundled by the LAG, up to a maximum of 10.
numberOfConnections
- The number of physical connections bundled by the LAG, up to a maximum of 10.public Integer getNumberOfConnections()
The number of physical connections bundled by the LAG, up to a maximum of 10.
public Lag withNumberOfConnections(Integer numberOfConnections)
The number of physical connections bundled by the LAG, up to a maximum of 10.
numberOfConnections
- The number of physical connections bundled by the LAG, up to a maximum of 10.public void setLagId(String lagId)
lagId
- public String getLagId()
public Lag withLagId(String lagId)
lagId
- public void setOwnerAccount(String ownerAccount)
The owner of the LAG.
ownerAccount
- The owner of the LAG.public String getOwnerAccount()
The owner of the LAG.
public Lag withOwnerAccount(String ownerAccount)
The owner of the LAG.
ownerAccount
- The owner of the LAG.public void setLagName(String lagName)
The name of the LAG.
lagName
- The name of the LAG.public String getLagName()
The name of the LAG.
public Lag withLagName(String lagName)
The name of the LAG.
lagName
- The name of the LAG.public Lag withLagState(String lagState)
lagState
- LagState
public Lag withLagState(LagState lagState)
lagState
- LagState
public void setLocation(String location)
location
- public String getLocation()
public Lag withLocation(String location)
location
- public void setRegion(String region)
region
- public String getRegion()
public Lag withRegion(String region)
region
- public void setMinimumLinks(Integer minimumLinks)
The minimum number of physical connections that must be operational for the LAG itself to be operational. If the
number of operational connections drops below this setting, the LAG state changes to down
. This
value can help to ensure that a LAG is not overutilized if a significant number of its bundled connections go
down.
minimumLinks
- The minimum number of physical connections that must be operational for the LAG itself to be operational.
If the number of operational connections drops below this setting, the LAG state changes to
down
. This value can help to ensure that a LAG is not overutilized if a significant number of
its bundled connections go down.public Integer getMinimumLinks()
The minimum number of physical connections that must be operational for the LAG itself to be operational. If the
number of operational connections drops below this setting, the LAG state changes to down
. This
value can help to ensure that a LAG is not overutilized if a significant number of its bundled connections go
down.
down
. This value can help to ensure that a LAG is not overutilized if a significant number
of its bundled connections go down.public Lag withMinimumLinks(Integer minimumLinks)
The minimum number of physical connections that must be operational for the LAG itself to be operational. If the
number of operational connections drops below this setting, the LAG state changes to down
. This
value can help to ensure that a LAG is not overutilized if a significant number of its bundled connections go
down.
minimumLinks
- The minimum number of physical connections that must be operational for the LAG itself to be operational.
If the number of operational connections drops below this setting, the LAG state changes to
down
. This value can help to ensure that a LAG is not overutilized if a significant number of
its bundled connections go down.public void setAwsDevice(String awsDevice)
The AWS Direct Connection endpoint that hosts the LAG.
awsDevice
- The AWS Direct Connection endpoint that hosts the LAG.public String getAwsDevice()
The AWS Direct Connection endpoint that hosts the LAG.
public Lag withAwsDevice(String awsDevice)
The AWS Direct Connection endpoint that hosts the LAG.
awsDevice
- The AWS Direct Connection endpoint that hosts the LAG.public List<Connection> getConnections()
A list of connections bundled by this LAG.
public void setConnections(Collection<Connection> connections)
A list of connections bundled by this LAG.
connections
- A list of connections bundled by this LAG.public Lag withConnections(Connection... connections)
A list of connections bundled by this LAG.
NOTE: This method appends the values to the existing list (if any). Use
setConnections(java.util.Collection)
or withConnections(java.util.Collection)
if you want to
override the existing values.
connections
- A list of connections bundled by this LAG.public Lag withConnections(Collection<Connection> connections)
A list of connections bundled by this LAG.
connections
- A list of connections bundled by this LAG.public void setAllowsHostedConnections(Boolean allowsHostedConnections)
Indicates whether the LAG can host other connections.
This is intended for use by AWS Direct Connect partners only.
allowsHostedConnections
- Indicates whether the LAG can host other connections. This is intended for use by AWS Direct Connect partners only.
public Boolean getAllowsHostedConnections()
Indicates whether the LAG can host other connections.
This is intended for use by AWS Direct Connect partners only.
This is intended for use by AWS Direct Connect partners only.
public Lag withAllowsHostedConnections(Boolean allowsHostedConnections)
Indicates whether the LAG can host other connections.
This is intended for use by AWS Direct Connect partners only.
allowsHostedConnections
- Indicates whether the LAG can host other connections. This is intended for use by AWS Direct Connect partners only.
public Boolean isAllowsHostedConnections()
Indicates whether the LAG can host other connections.
This is intended for use by AWS Direct Connect partners only.
This is intended for use by AWS Direct Connect partners only.
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.