@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateLagResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Information about a link aggregation group (LAG).
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 Connect endpoint that hosts the LAG.
|
String |
getAwsDeviceV2()
The AWS Direct Connect endpoint that hosts the LAG.
|
List<Connection> |
getConnections()
The connections bundled by the LAG.
|
String |
getConnectionsBandwidth()
The individual bandwidth of the physical connections bundled by the LAG.
|
String |
getHasLogicalRedundancy()
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
|
Boolean |
getJumboFrameCapable()
Indicates whether jumbo frames (9001 MTU) are supported.
|
String |
getLagId()
The ID of the LAG.
|
String |
getLagName()
The name of the LAG.
|
String |
getLagState()
The state of the LAG.
|
String |
getLocation()
The location of the LAG.
|
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 ID of the AWS account that owns the LAG.
|
String |
getRegion()
The AWS Region where the connection is located.
|
int |
hashCode() |
Boolean |
isAllowsHostedConnections()
Indicates whether the LAG can host other connections.
|
Boolean |
isJumboFrameCapable()
Indicates whether jumbo frames (9001 MTU) are supported.
|
void |
setAllowsHostedConnections(Boolean allowsHostedConnections)
Indicates whether the LAG can host other connections.
|
void |
setAwsDevice(String awsDevice)
The AWS Direct Connect endpoint that hosts the LAG.
|
void |
setAwsDeviceV2(String awsDeviceV2)
The AWS Direct Connect endpoint that hosts the LAG.
|
void |
setConnections(Collection<Connection> connections)
The connections bundled by the LAG.
|
void |
setConnectionsBandwidth(String connectionsBandwidth)
The individual bandwidth of the physical connections bundled by the LAG.
|
void |
setHasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
|
void |
setHasLogicalRedundancy(String hasLogicalRedundancy)
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
|
void |
setJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames (9001 MTU) are supported.
|
void |
setLagId(String lagId)
The ID of the LAG.
|
void |
setLagName(String lagName)
The name of the LAG.
|
void |
setLagState(LagState lagState)
The state of the LAG.
|
void |
setLagState(String lagState)
The state of the LAG.
|
void |
setLocation(String location)
The location of the LAG.
|
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 ID of the AWS account that owns the LAG.
|
void |
setRegion(String region)
The AWS Region where the connection is located.
|
String |
toString()
Returns a string representation of this object.
|
UpdateLagResult |
withAllowsHostedConnections(Boolean allowsHostedConnections)
Indicates whether the LAG can host other connections.
|
UpdateLagResult |
withAwsDevice(String awsDevice)
The AWS Direct Connect endpoint that hosts the LAG.
|
UpdateLagResult |
withAwsDeviceV2(String awsDeviceV2)
The AWS Direct Connect endpoint that hosts the LAG.
|
UpdateLagResult |
withConnections(Collection<Connection> connections)
The connections bundled by the LAG.
|
UpdateLagResult |
withConnections(Connection... connections)
The connections bundled by the LAG.
|
UpdateLagResult |
withConnectionsBandwidth(String connectionsBandwidth)
The individual bandwidth of the physical connections bundled by the LAG.
|
UpdateLagResult |
withHasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
|
UpdateLagResult |
withHasLogicalRedundancy(String hasLogicalRedundancy)
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
|
UpdateLagResult |
withJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames (9001 MTU) are supported.
|
UpdateLagResult |
withLagId(String lagId)
The ID of the LAG.
|
UpdateLagResult |
withLagName(String lagName)
The name of the LAG.
|
UpdateLagResult |
withLagState(LagState lagState)
The state of the LAG.
|
UpdateLagResult |
withLagState(String lagState)
The state of the LAG.
|
UpdateLagResult |
withLocation(String location)
The location of the LAG.
|
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 ID of the AWS account that owns the LAG.
|
UpdateLagResult |
withRegion(String region)
The AWS Region where the connection is located.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setConnectionsBandwidth(String connectionsBandwidth)
The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and 10Gbps.
connectionsBandwidth
- The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and
10Gbps.public String getConnectionsBandwidth()
The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and 10Gbps.
public UpdateLagResult withConnectionsBandwidth(String connectionsBandwidth)
The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and 10Gbps.
connectionsBandwidth
- The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and
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)
The ID of the LAG.
lagId
- The ID of the LAG.public String getLagId()
The ID of the LAG.
public UpdateLagResult withLagId(String lagId)
The ID of the LAG.
lagId
- The ID of the LAG.public void setOwnerAccount(String ownerAccount)
The ID of the AWS account that owns the LAG.
ownerAccount
- The ID of the AWS account that owns the LAG.public String getOwnerAccount()
The ID of the AWS account that owns the LAG.
public UpdateLagResult withOwnerAccount(String ownerAccount)
The ID of the AWS account that owns the LAG.
ownerAccount
- The ID of the AWS account that owns 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 void setLagState(String lagState)
The state of the LAG. The following are the possible values:
requested
: The initial state of a LAG. The LAG stays in the requested state until the Letter of
Authorization (LOA) is available.
pending
: The LAG has been approved and is being initialized.
available
: The network link is established and the LAG is ready for use.
down
: The network link is down.
deleting
: The LAG is being deleted.
deleted
: The LAG is deleted.
unknown
: The state of the LAG is not available.
lagState
- The state of the LAG. The following are the possible values:
requested
: The initial state of a LAG. The LAG stays in the requested state until the Letter
of Authorization (LOA) is available.
pending
: The LAG has been approved and is being initialized.
available
: The network link is established and the LAG is ready for use.
down
: The network link is down.
deleting
: The LAG is being deleted.
deleted
: The LAG is deleted.
unknown
: The state of the LAG is not available.
LagState
public String getLagState()
The state of the LAG. The following are the possible values:
requested
: The initial state of a LAG. The LAG stays in the requested state until the Letter of
Authorization (LOA) is available.
pending
: The LAG has been approved and is being initialized.
available
: The network link is established and the LAG is ready for use.
down
: The network link is down.
deleting
: The LAG is being deleted.
deleted
: The LAG is deleted.
unknown
: The state of the LAG is not available.
requested
: The initial state of a LAG. The LAG stays in the requested state until the Letter
of Authorization (LOA) is available.
pending
: The LAG has been approved and is being initialized.
available
: The network link is established and the LAG is ready for use.
down
: The network link is down.
deleting
: The LAG is being deleted.
deleted
: The LAG is deleted.
unknown
: The state of the LAG is not available.
LagState
public UpdateLagResult withLagState(String lagState)
The state of the LAG. The following are the possible values:
requested
: The initial state of a LAG. The LAG stays in the requested state until the Letter of
Authorization (LOA) is available.
pending
: The LAG has been approved and is being initialized.
available
: The network link is established and the LAG is ready for use.
down
: The network link is down.
deleting
: The LAG is being deleted.
deleted
: The LAG is deleted.
unknown
: The state of the LAG is not available.
lagState
- The state of the LAG. The following are the possible values:
requested
: The initial state of a LAG. The LAG stays in the requested state until the Letter
of Authorization (LOA) is available.
pending
: The LAG has been approved and is being initialized.
available
: The network link is established and the LAG is ready for use.
down
: The network link is down.
deleting
: The LAG is being deleted.
deleted
: The LAG is deleted.
unknown
: The state of the LAG is not available.
LagState
public void setLagState(LagState lagState)
The state of the LAG. The following are the possible values:
requested
: The initial state of a LAG. The LAG stays in the requested state until the Letter of
Authorization (LOA) is available.
pending
: The LAG has been approved and is being initialized.
available
: The network link is established and the LAG is ready for use.
down
: The network link is down.
deleting
: The LAG is being deleted.
deleted
: The LAG is deleted.
unknown
: The state of the LAG is not available.
lagState
- The state of the LAG. The following are the possible values:
requested
: The initial state of a LAG. The LAG stays in the requested state until the Letter
of Authorization (LOA) is available.
pending
: The LAG has been approved and is being initialized.
available
: The network link is established and the LAG is ready for use.
down
: The network link is down.
deleting
: The LAG is being deleted.
deleted
: The LAG is deleted.
unknown
: The state of the LAG is not available.
LagState
public UpdateLagResult withLagState(LagState lagState)
The state of the LAG. The following are the possible values:
requested
: The initial state of a LAG. The LAG stays in the requested state until the Letter of
Authorization (LOA) is available.
pending
: The LAG has been approved and is being initialized.
available
: The network link is established and the LAG is ready for use.
down
: The network link is down.
deleting
: The LAG is being deleted.
deleted
: The LAG is deleted.
unknown
: The state of the LAG is not available.
lagState
- The state of the LAG. The following are the possible values:
requested
: The initial state of a LAG. The LAG stays in the requested state until the Letter
of Authorization (LOA) is available.
pending
: The LAG has been approved and is being initialized.
available
: The network link is established and the LAG is ready for use.
down
: The network link is down.
deleting
: The LAG is being deleted.
deleted
: The LAG is deleted.
unknown
: The state of the LAG is not available.
LagState
public void setLocation(String location)
The location of the LAG.
location
- The location of the LAG.public String getLocation()
The location of the LAG.
public UpdateLagResult withLocation(String location)
The location of the LAG.
location
- The location of the LAG.public void setRegion(String region)
The AWS Region where the connection is located.
region
- The AWS Region where the connection is located.public String getRegion()
The AWS Region where the connection is located.
public UpdateLagResult withRegion(String region)
The AWS Region where the connection is located.
region
- The AWS Region where the connection is located.public void setMinimumLinks(Integer minimumLinks)
The minimum number of physical connections that must be operational for the LAG itself to be operational.
minimumLinks
- The minimum number of physical connections that must be operational for the LAG itself to be operational.public Integer getMinimumLinks()
The minimum number of physical connections that must be operational for the LAG itself to be operational.
public UpdateLagResult withMinimumLinks(Integer minimumLinks)
The minimum number of physical connections that must be operational for the LAG itself to be operational.
minimumLinks
- The minimum number of physical connections that must be operational for the LAG itself to be operational.public void setAwsDevice(String awsDevice)
The AWS Direct Connect endpoint that hosts the LAG.
awsDevice
- The AWS Direct Connect endpoint that hosts the LAG.public String getAwsDevice()
The AWS Direct Connect endpoint that hosts the LAG.
public UpdateLagResult withAwsDevice(String awsDevice)
The AWS Direct Connect endpoint that hosts the LAG.
awsDevice
- The AWS Direct Connect endpoint that hosts the LAG.public void setAwsDeviceV2(String awsDeviceV2)
The AWS Direct Connect endpoint that hosts the LAG.
awsDeviceV2
- The AWS Direct Connect endpoint that hosts the LAG.public String getAwsDeviceV2()
The AWS Direct Connect endpoint that hosts the LAG.
public UpdateLagResult withAwsDeviceV2(String awsDeviceV2)
The AWS Direct Connect endpoint that hosts the LAG.
awsDeviceV2
- The AWS Direct Connect endpoint that hosts the LAG.public List<Connection> getConnections()
The connections bundled by the LAG.
public void setConnections(Collection<Connection> connections)
The connections bundled by the LAG.
connections
- The connections bundled by the LAG.public UpdateLagResult withConnections(Connection... connections)
The connections bundled by the 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
- The connections bundled by the LAG.public UpdateLagResult withConnections(Collection<Connection> connections)
The connections bundled by the LAG.
connections
- The connections bundled by the LAG.public void setAllowsHostedConnections(Boolean allowsHostedConnections)
Indicates whether the LAG can host other connections.
allowsHostedConnections
- Indicates whether the LAG can host other connections.public Boolean getAllowsHostedConnections()
Indicates whether the LAG can host other connections.
public UpdateLagResult withAllowsHostedConnections(Boolean allowsHostedConnections)
Indicates whether the LAG can host other connections.
allowsHostedConnections
- Indicates whether the LAG can host other connections.public Boolean isAllowsHostedConnections()
Indicates whether the LAG can host other connections.
public void setJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames (9001 MTU) are supported.
jumboFrameCapable
- Indicates whether jumbo frames (9001 MTU) are supported.public Boolean getJumboFrameCapable()
Indicates whether jumbo frames (9001 MTU) are supported.
public UpdateLagResult withJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames (9001 MTU) are supported.
jumboFrameCapable
- Indicates whether jumbo frames (9001 MTU) are supported.public Boolean isJumboFrameCapable()
Indicates whether jumbo frames (9001 MTU) are supported.
public void setHasLogicalRedundancy(String hasLogicalRedundancy)
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
hasLogicalRedundancy
- Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).HasLogicalRedundancy
public String getHasLogicalRedundancy()
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
HasLogicalRedundancy
public UpdateLagResult withHasLogicalRedundancy(String hasLogicalRedundancy)
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
hasLogicalRedundancy
- Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).HasLogicalRedundancy
public void setHasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
hasLogicalRedundancy
- Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).HasLogicalRedundancy
public UpdateLagResult withHasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
hasLogicalRedundancy
- Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).HasLogicalRedundancy
public String toString()
toString
in class Object
Object.toString()
public UpdateLagResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.