@Generated(value="software.amazon.awssdk:codegen") public final class CreateLagRequest extends DirectConnectRequest implements ToCopyableBuilder<CreateLagRequest.Builder,CreateLagRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateLagRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateLagRequest.Builder |
builder() |
List<Tag> |
childConnectionTags()
The tags to associate with the automtically created LAGs.
|
String |
connectionId()
The ID of an existing dedicated connection to migrate to the LAG.
|
String |
connectionsBandwidth()
The bandwidth of the individual physical dedicated connections bundled by the LAG.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasChildConnectionTags()
For responses, this returns true if the service returned a value for the ChildConnectionTags property.
|
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
lagName()
The name of the LAG.
|
String |
location()
The location for the LAG.
|
Integer |
numberOfConnections()
The number of physical dedicated connections initially provisioned and bundled by the LAG.
|
String |
providerName()
The name of the service provider associated with the LAG.
|
Boolean |
requestMACSec()
Indicates whether the connection will support MAC Security (MACsec).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateLagRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The tags to associate with the LAG.
|
CreateLagRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 1G or 10G, or two when the port speed is 100G.
public final String location()
The location for the LAG.
public final String connectionsBandwidth()
The bandwidth of the individual physical dedicated connections bundled by the LAG. The possible values are 1Gbps and 10Gbps.
public final String lagName()
The name of the LAG.
public final String connectionId()
The ID of an existing dedicated connection to migrate to the LAG.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
The tags to associate with the LAG.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final boolean hasChildConnectionTags()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<Tag> childConnectionTags()
The tags to associate with the automtically created LAGs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasChildConnectionTags() method.
public final String providerName()
The name of the service provider associated with the LAG.
public final Boolean requestMACSec()
Indicates whether the connection will support MAC Security (MACsec).
All connections in the LAG must be capable of supporting MAC Security (MACsec). For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
All connections in the LAG must be capable of supporting MAC Security (MACsec). For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the Direct Connect User Guide.
public CreateLagRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateLagRequest.Builder,CreateLagRequest>toBuilder in class DirectConnectRequestpublic static CreateLagRequest.Builder builder()
public static Class<? extends CreateLagRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.