@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateLagResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
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 |
---|
UpdateLagResult() |
Modifier and Type | Method and Description |
---|---|
UpdateLagResult |
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 |
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.
|
UpdateLagResult |
withAllowsHostedConnections(Boolean allowsHostedConnections)
Indicates whether the LAG can host other connections.
|
UpdateLagResult |
withAwsDevice(String awsDevice)
The AWS Direct Connection endpoint that hosts the LAG.
|
UpdateLagResult |
withConnections(Collection<Connection> connections)
A list of connections bundled by this LAG.
|
UpdateLagResult |
withConnections(Connection... connections)
A list of connections bundled by this LAG.
|
UpdateLagResult |
withConnectionsBandwidth(String connectionsBandwidth)
The individual bandwidth of the physical connections bundled by the LAG.
|
UpdateLagResult |
withLagId(String lagId) |
UpdateLagResult |
withLagName(String lagName)
The name of the LAG.
|
UpdateLagResult |
withLagState(LagState lagState) |
UpdateLagResult |
withLagState(String lagState) |
UpdateLagResult |
withLocation(String location) |
UpdateLagResult |
withMinimumLinks(Integer minimumLinks)
The minimum number of physical connections that must be operational for the LAG itself to be operational.
|
UpdateLagResult |
withNumberOfConnections(Integer numberOfConnections)
The number of physical connections bundled by the LAG, up to a maximum of 10.
|
UpdateLagResult |
withOwnerAccount(String ownerAccount)
The owner of the LAG.
|
UpdateLagResult |
withRegion(String region) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 UpdateLagResult 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 UpdateLagResult 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 UpdateLagResult 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 UpdateLagResult 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 UpdateLagResult withLagName(String lagName)
The name of the LAG.
lagName
- The name of the LAG.public UpdateLagResult withLagState(String lagState)
lagState
- LagState
public UpdateLagResult withLagState(LagState lagState)
lagState
- LagState
public void setLocation(String location)
location
- public String getLocation()
public UpdateLagResult withLocation(String location)
location
- public void setRegion(String region)
region
- public String getRegion()
public UpdateLagResult 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 UpdateLagResult 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 UpdateLagResult 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 UpdateLagResult 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 UpdateLagResult 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 UpdateLagResult 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 UpdateLagResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.