@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLagResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Information about a link aggregation group (LAG).
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 Direct Connect endpoint that hosts the LAG.
|
String |
getAwsDeviceV2()
The Direct Connect endpoint that hosts the LAG.
|
String |
getAwsLogicalDeviceId()
The Direct Connect endpoint that terminates the logical connection.
|
List<Connection> |
getConnections()
The connections bundled by the LAG.
|
String |
getConnectionsBandwidth()
The individual bandwidth of the physical connections bundled by the LAG.
|
String |
getEncryptionMode()
The LAG MAC Security (MACsec) encryption mode.
|
String |
getHasLogicalRedundancy()
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
|
Boolean |
getJumboFrameCapable()
Indicates whether jumbo frames 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.
|
Boolean |
getMacSecCapable()
Indicates whether the LAG supports MAC Security (MACsec).
|
List<MacSecKey> |
getMacSecKeys()
The MAC Security (MACsec) security keys associated with the LAG.
|
Integer |
getMinimumLinks()
The minimum number of physical dedicated connections that must be operational for the LAG itself to be
operational.
|
Integer |
getNumberOfConnections()
The number of physical dedicated connections initially provisioned and bundled by the LAG.
|
String |
getOwnerAccount()
The ID of the Amazon Web Services account that owns the LAG.
|
String |
getProviderName()
The name of the service provider associated with the LAG.
|
String |
getRegion()
The Amazon Web Services Region where the connection is located.
|
List<Tag> |
getTags()
The tags associated with the LAG.
|
int |
hashCode() |
Boolean |
isAllowsHostedConnections()
Indicates whether the LAG can host other connections.
|
Boolean |
isJumboFrameCapable()
Indicates whether jumbo frames are supported.
|
Boolean |
isMacSecCapable()
Indicates whether the LAG supports MAC Security (MACsec).
|
void |
setAllowsHostedConnections(Boolean allowsHostedConnections)
Indicates whether the LAG can host other connections.
|
void |
setAwsDevice(String awsDevice)
The Direct Connect endpoint that hosts the LAG.
|
void |
setAwsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint that hosts the LAG.
|
void |
setAwsLogicalDeviceId(String awsLogicalDeviceId)
The Direct Connect endpoint that terminates the logical connection.
|
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 |
setEncryptionMode(String encryptionMode)
The LAG MAC Security (MACsec) encryption mode.
|
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 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 |
setMacSecCapable(Boolean macSecCapable)
Indicates whether the LAG supports MAC Security (MACsec).
|
void |
setMacSecKeys(Collection<MacSecKey> macSecKeys)
The MAC Security (MACsec) security keys associated with the LAG.
|
void |
setMinimumLinks(Integer minimumLinks)
The minimum number of physical dedicated connections that must be operational for the LAG itself to be
operational.
|
void |
setNumberOfConnections(Integer numberOfConnections)
The number of physical dedicated connections initially provisioned and bundled by the LAG.
|
void |
setOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the LAG.
|
void |
setProviderName(String providerName)
The name of the service provider associated with the LAG.
|
void |
setRegion(String region)
The Amazon Web Services Region where the connection is located.
|
void |
setTags(Collection<Tag> tags)
The tags associated with the LAG.
|
String |
toString()
Returns a string representation of this object.
|
CreateLagResult |
withAllowsHostedConnections(Boolean allowsHostedConnections)
Indicates whether the LAG can host other connections.
|
CreateLagResult |
withAwsDevice(String awsDevice)
The Direct Connect endpoint that hosts the LAG.
|
CreateLagResult |
withAwsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint that hosts the LAG.
|
CreateLagResult |
withAwsLogicalDeviceId(String awsLogicalDeviceId)
The Direct Connect endpoint that terminates the logical connection.
|
CreateLagResult |
withConnections(Collection<Connection> connections)
The connections bundled by the LAG.
|
CreateLagResult |
withConnections(Connection... connections)
The connections bundled by the LAG.
|
CreateLagResult |
withConnectionsBandwidth(String connectionsBandwidth)
The individual bandwidth of the physical connections bundled by the LAG.
|
CreateLagResult |
withEncryptionMode(String encryptionMode)
The LAG MAC Security (MACsec) encryption mode.
|
CreateLagResult |
withHasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
|
CreateLagResult |
withHasLogicalRedundancy(String hasLogicalRedundancy)
Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).
|
CreateLagResult |
withJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames are supported.
|
CreateLagResult |
withLagId(String lagId)
The ID of the LAG.
|
CreateLagResult |
withLagName(String lagName)
The name of the LAG.
|
CreateLagResult |
withLagState(LagState lagState)
The state of the LAG.
|
CreateLagResult |
withLagState(String lagState)
The state of the LAG.
|
CreateLagResult |
withLocation(String location)
The location of the LAG.
|
CreateLagResult |
withMacSecCapable(Boolean macSecCapable)
Indicates whether the LAG supports MAC Security (MACsec).
|
CreateLagResult |
withMacSecKeys(Collection<MacSecKey> macSecKeys)
The MAC Security (MACsec) security keys associated with the LAG.
|
CreateLagResult |
withMacSecKeys(MacSecKey... macSecKeys)
The MAC Security (MACsec) security keys associated with the LAG.
|
CreateLagResult |
withMinimumLinks(Integer minimumLinks)
The minimum number of physical dedicated connections that must be operational for the LAG itself to be
operational.
|
CreateLagResult |
withNumberOfConnections(Integer numberOfConnections)
The number of physical dedicated connections initially provisioned and bundled by the LAG.
|
CreateLagResult |
withOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the LAG.
|
CreateLagResult |
withProviderName(String providerName)
The name of the service provider associated with the LAG.
|
CreateLagResult |
withRegion(String region)
The Amazon Web Services Region where the connection is located.
|
CreateLagResult |
withTags(Collection<Tag> tags)
The tags associated with the LAG.
|
CreateLagResult |
withTags(Tag... tags)
The tags associated with the LAG.
|
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, 10Gbps, 100Gbps, or 400 Gbps..
connectionsBandwidth
- The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps,
10Gbps, 100Gbps, or 400 Gbps..public String getConnectionsBandwidth()
The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps, 10Gbps, 100Gbps, or 400 Gbps..
public CreateLagResult withConnectionsBandwidth(String connectionsBandwidth)
The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps, 10Gbps, 100Gbps, or 400 Gbps..
connectionsBandwidth
- The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps,
10Gbps, 100Gbps, or 400 Gbps..public void setNumberOfConnections(Integer numberOfConnections)
The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1 Gbps or 10 Gbps, or two when the port speed is 100 Gbps or 400 Gbps.
numberOfConnections
- The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a
maximum of four connections when the port speed is 1 Gbps or 10 Gbps, or two when the port speed is 100
Gbps or 400 Gbps.public Integer getNumberOfConnections()
The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1 Gbps or 10 Gbps, or two when the port speed is 100 Gbps or 400 Gbps.
public CreateLagResult withNumberOfConnections(Integer numberOfConnections)
The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1 Gbps or 10 Gbps, or two when the port speed is 100 Gbps or 400 Gbps.
numberOfConnections
- The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a
maximum of four connections when the port speed is 1 Gbps or 10 Gbps, or two when the port speed is 100
Gbps or 400 Gbps.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 CreateLagResult withLagId(String lagId)
The ID of the LAG.
lagId
- The ID of the LAG.public void setOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the LAG.
ownerAccount
- The ID of the Amazon Web Services account that owns the LAG.public String getOwnerAccount()
The ID of the Amazon Web Services account that owns the LAG.
public CreateLagResult withOwnerAccount(String ownerAccount)
The ID of the Amazon Web Services account that owns the LAG.
ownerAccount
- The ID of the Amazon Web Services 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 CreateLagResult 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 CreateLagResult 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 CreateLagResult 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 CreateLagResult withLocation(String location)
The location of the LAG.
location
- The location of the LAG.public void setRegion(String region)
The Amazon Web Services Region where the connection is located.
region
- The Amazon Web Services Region where the connection is located.public String getRegion()
The Amazon Web Services Region where the connection is located.
public CreateLagResult withRegion(String region)
The Amazon Web Services Region where the connection is located.
region
- The Amazon Web Services Region where the connection is located.public void setMinimumLinks(Integer minimumLinks)
The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
minimumLinks
- The minimum number of physical dedicated connections that must be operational for the LAG itself to be
operational.public Integer getMinimumLinks()
The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
public CreateLagResult withMinimumLinks(Integer minimumLinks)
The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
minimumLinks
- The minimum number of physical dedicated connections that must be operational for the LAG itself to be
operational.public void setAwsDevice(String awsDevice)
The Direct Connect endpoint that hosts the LAG.
awsDevice
- The Direct Connect endpoint that hosts the LAG.public String getAwsDevice()
The Direct Connect endpoint that hosts the LAG.
public CreateLagResult withAwsDevice(String awsDevice)
The Direct Connect endpoint that hosts the LAG.
awsDevice
- The Direct Connect endpoint that hosts the LAG.public void setAwsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint that hosts the LAG.
awsDeviceV2
- The Direct Connect endpoint that hosts the LAG.public String getAwsDeviceV2()
The Direct Connect endpoint that hosts the LAG.
public CreateLagResult withAwsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint that hosts the LAG.
awsDeviceV2
- The Direct Connect endpoint that hosts the LAG.public void setAwsLogicalDeviceId(String awsLogicalDeviceId)
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
awsLogicalDeviceId
- The Direct Connect endpoint that terminates the logical connection. This device might be different than
the device that terminates the physical connection.public String getAwsLogicalDeviceId()
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
public CreateLagResult withAwsLogicalDeviceId(String awsLogicalDeviceId)
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
awsLogicalDeviceId
- The Direct Connect endpoint that terminates the logical connection. This device might be different than
the device that terminates the physical connection.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 CreateLagResult 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 CreateLagResult 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 CreateLagResult 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 are supported.
jumboFrameCapable
- Indicates whether jumbo frames are supported.public Boolean getJumboFrameCapable()
Indicates whether jumbo frames are supported.
public CreateLagResult withJumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames are supported.
jumboFrameCapable
- Indicates whether jumbo frames are supported.public Boolean isJumboFrameCapable()
Indicates whether jumbo frames 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 CreateLagResult 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 CreateLagResult 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 List<Tag> getTags()
The tags associated with the LAG.
public void setTags(Collection<Tag> tags)
The tags associated with the LAG.
tags
- The tags associated with the LAG.public CreateLagResult withTags(Tag... tags)
The tags associated with the LAG.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags associated with the LAG.public CreateLagResult withTags(Collection<Tag> tags)
The tags associated with the LAG.
tags
- The tags associated with the LAG.public void setProviderName(String providerName)
The name of the service provider associated with the LAG.
providerName
- The name of the service provider associated with the LAG.public String getProviderName()
The name of the service provider associated with the LAG.
public CreateLagResult withProviderName(String providerName)
The name of the service provider associated with the LAG.
providerName
- The name of the service provider associated with the LAG.public void setMacSecCapable(Boolean macSecCapable)
Indicates whether the LAG supports MAC Security (MACsec).
macSecCapable
- Indicates whether the LAG supports MAC Security (MACsec).public Boolean getMacSecCapable()
Indicates whether the LAG supports MAC Security (MACsec).
public CreateLagResult withMacSecCapable(Boolean macSecCapable)
Indicates whether the LAG supports MAC Security (MACsec).
macSecCapable
- Indicates whether the LAG supports MAC Security (MACsec).public Boolean isMacSecCapable()
Indicates whether the LAG supports MAC Security (MACsec).
public void setEncryptionMode(String encryptionMode)
The LAG MAC Security (MACsec) encryption mode.
The valid values are no_encrypt
, should_encrypt
, and must_encrypt
.
encryptionMode
- The LAG MAC Security (MACsec) encryption mode.
The valid values are no_encrypt
, should_encrypt
, and must_encrypt
.
public String getEncryptionMode()
The LAG MAC Security (MACsec) encryption mode.
The valid values are no_encrypt
, should_encrypt
, and must_encrypt
.
The valid values are no_encrypt
, should_encrypt
, and must_encrypt
.
public CreateLagResult withEncryptionMode(String encryptionMode)
The LAG MAC Security (MACsec) encryption mode.
The valid values are no_encrypt
, should_encrypt
, and must_encrypt
.
encryptionMode
- The LAG MAC Security (MACsec) encryption mode.
The valid values are no_encrypt
, should_encrypt
, and must_encrypt
.
public List<MacSecKey> getMacSecKeys()
The MAC Security (MACsec) security keys associated with the LAG.
public void setMacSecKeys(Collection<MacSecKey> macSecKeys)
The MAC Security (MACsec) security keys associated with the LAG.
macSecKeys
- The MAC Security (MACsec) security keys associated with the LAG.public CreateLagResult withMacSecKeys(MacSecKey... macSecKeys)
The MAC Security (MACsec) security keys associated with the LAG.
NOTE: This method appends the values to the existing list (if any). Use
setMacSecKeys(java.util.Collection)
or withMacSecKeys(java.util.Collection)
if you want to
override the existing values.
macSecKeys
- The MAC Security (MACsec) security keys associated with the LAG.public CreateLagResult withMacSecKeys(Collection<MacSecKey> macSecKeys)
The MAC Security (MACsec) security keys associated with the LAG.
macSecKeys
- The MAC Security (MACsec) security keys associated with the LAG.public String toString()
toString
in class Object
Object.toString()
public CreateLagResult clone()