@Generated(value="software.amazon.awssdk:codegen") public class UpdateLagResponse extends DirectConnectResponse implements ToCopyableBuilder<UpdateLagResponse.Builder,UpdateLagResponse>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateLagResponse.Builder |
Modifier and Type | Method and Description |
---|---|
Boolean |
allowsHostedConnections()
Indicates whether the LAG can host other connections.
|
String |
awsDevice()
The AWS Direct Connection endpoint that hosts the LAG.
|
static UpdateLagResponse.Builder |
builder() |
List<Connection> |
connections()
A list of connections bundled by this LAG.
|
String |
connectionsBandwidth()
The individual bandwidth of the physical connections bundled by the LAG.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
String |
lagId()
Returns the value of the LagId property for this object.
|
String |
lagName()
The name of the LAG.
|
LagState |
lagState()
Returns the value of the LagState property for this object.
|
String |
lagStateString()
Returns the value of the LagState property for this object.
|
String |
location()
Returns the value of the Location property for this object.
|
Integer |
minimumLinks()
The minimum number of physical connections that must be operational for the LAG itself to be operational.
|
Integer |
numberOfConnections()
The number of physical connections bundled by the LAG, up to a maximum of 10.
|
String |
ownerAccount()
The owner of the LAG.
|
String |
region()
Returns the value of the Region property for this object.
|
static Class<? extends UpdateLagResponse.Builder> |
serializableBuilderClass() |
UpdateLagResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String connectionsBandwidth()
The individual bandwidth of the physical connections bundled by the LAG.
Available values: 1Gbps, 10Gbps
Available values: 1Gbps, 10Gbps
public Integer numberOfConnections()
The number of physical connections bundled by the LAG, up to a maximum of 10.
public String lagId()
public String ownerAccount()
The owner of the LAG.
public String lagName()
The name of the LAG.
public LagState lagState()
If the service returns an enum value that is not available in the current SDK version, lagState
will
return LagState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
lagStateString()
.
LagState
public String lagStateString()
If the service returns an enum value that is not available in the current SDK version, lagState
will
return LagState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
lagStateString()
.
LagState
public String location()
public String region()
public 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.
down
. This value can help to ensure that a LAG is not overutilized if a significant number
of its bundled connections go down.public String awsDevice()
The AWS Direct Connection endpoint that hosts the LAG.
public List<Connection> connections()
A list of connections bundled by this LAG.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean allowsHostedConnections()
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 UpdateLagResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateLagResponse.Builder,UpdateLagResponse>
toBuilder
in class AwsResponse
public static UpdateLagResponse.Builder builder()
public static Class<? extends UpdateLagResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.