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