/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.directconnect.model; import java.io.Serializable; import javax.annotation.Generated; /** *
* Information about a link aggregation group (LAG). *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdateLagResult extends com.amazonaws.AmazonWebServiceResult* The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and * 10Gbps. *
*/ private String connectionsBandwidth; /** ** The number of physical dedicated connections bundled by the LAG, up to a maximum of 10. *
*/ private Integer numberOfConnections; /** ** The ID of the LAG. *
*/ private String lagId; /** ** The ID of the Amazon Web Services account that owns the LAG. *
*/ private String ownerAccount; /** ** The name of the LAG. *
*/ private String lagName; /** ** 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.
*
* The location of the LAG. *
*/ private String location; /** ** The Amazon Web Services Region where the connection is located. *
*/ private String region; /** ** The minimum number of physical dedicated connections that must be operational for the LAG itself to be * operational. *
*/ private Integer minimumLinks; /** ** The Direct Connect endpoint that hosts the LAG. *
*/ private String awsDevice; /** ** The Direct Connect endpoint that hosts the LAG. *
*/ private String awsDeviceV2; /** ** The Direct Connect endpoint that terminates the logical connection. This device might be different than the * device that terminates the physical connection. *
*/ private String awsLogicalDeviceId; /** ** The connections bundled by the LAG. *
*/ private com.amazonaws.internal.SdkInternalList* Indicates whether the LAG can host other connections. *
*/ private Boolean allowsHostedConnections; /** ** Indicates whether jumbo frames are supported. *
*/ private Boolean jumboFrameCapable; /** ** Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6). *
*/ private String hasLogicalRedundancy; /** ** The tags associated with the LAG. *
*/ private com.amazonaws.internal.SdkInternalList* The name of the service provider associated with the LAG. *
*/ private String providerName; /** ** Indicates whether the LAG supports MAC Security (MACsec). *
*/ private Boolean macSecCapable; /** ** The LAG MAC Security (MACsec) encryption mode. *
*
* The valid values are no_encrypt
, should_encrypt
, and must_encrypt
.
*
* The MAC Security (MACsec) security keys associated with the LAG. *
*/ private com.amazonaws.internal.SdkInternalList* The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and * 10Gbps. *
* * @param connectionsBandwidth * The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and * 10Gbps. */ public void setConnectionsBandwidth(String connectionsBandwidth) { this.connectionsBandwidth = connectionsBandwidth; } /** ** The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and * 10Gbps. *
* * @return The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps * and 10Gbps. */ public String getConnectionsBandwidth() { return this.connectionsBandwidth; } /** ** The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and * 10Gbps. *
* * @param connectionsBandwidth * The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps and * 10Gbps. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withConnectionsBandwidth(String connectionsBandwidth) { setConnectionsBandwidth(connectionsBandwidth); return this; } /** ** The number of physical dedicated connections bundled by the LAG, up to a maximum of 10. *
* * @param numberOfConnections * The number of physical dedicated connections bundled by the LAG, up to a maximum of 10. */ public void setNumberOfConnections(Integer numberOfConnections) { this.numberOfConnections = numberOfConnections; } /** ** The number of physical dedicated connections bundled by the LAG, up to a maximum of 10. *
* * @return The number of physical dedicated connections bundled by the LAG, up to a maximum of 10. */ public Integer getNumberOfConnections() { return this.numberOfConnections; } /** ** The number of physical dedicated connections bundled by the LAG, up to a maximum of 10. *
* * @param numberOfConnections * The number of physical dedicated connections bundled by the LAG, up to a maximum of 10. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withNumberOfConnections(Integer numberOfConnections) { setNumberOfConnections(numberOfConnections); return this; } /** ** The ID of the LAG. *
* * @param lagId * The ID of the LAG. */ public void setLagId(String lagId) { this.lagId = lagId; } /** ** The ID of the LAG. *
* * @return The ID of the LAG. */ public String getLagId() { return this.lagId; } /** ** The ID of the LAG. *
* * @param lagId * The ID of the LAG. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withLagId(String lagId) { setLagId(lagId); return this; } /** ** The ID of the Amazon Web Services account that owns the LAG. *
* * @param ownerAccount * The ID of the Amazon Web Services account that owns the LAG. */ public void setOwnerAccount(String ownerAccount) { this.ownerAccount = ownerAccount; } /** ** The ID of the Amazon Web Services account that owns the LAG. *
* * @return The ID of the Amazon Web Services account that owns the LAG. */ public String getOwnerAccount() { return this.ownerAccount; } /** ** The ID of the Amazon Web Services account that owns the LAG. *
* * @param ownerAccount * The ID of the Amazon Web Services account that owns the LAG. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withOwnerAccount(String ownerAccount) { setOwnerAccount(ownerAccount); return this; } /** ** The name of the LAG. *
* * @param lagName * The name of the LAG. */ public void setLagName(String lagName) { this.lagName = lagName; } /** ** The name of the LAG. *
* * @return The name of the LAG. */ public String getLagName() { return this.lagName; } /** ** The name of the LAG. *
* * @param lagName * The name of the LAG. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withLagName(String lagName) { setLagName(lagName); return this; } /** ** 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* The location of the LAG. *
* * @param location * The location of the LAG. */ public void setLocation(String location) { this.location = location; } /** ** The location of the LAG. *
* * @return The location of the LAG. */ public String getLocation() { return this.location; } /** ** The location of the LAG. *
* * @param location * The location of the LAG. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withLocation(String location) { setLocation(location); return this; } /** ** The Amazon Web Services Region where the connection is located. *
* * @param region * The Amazon Web Services Region where the connection is located. */ public void setRegion(String region) { this.region = region; } /** ** The Amazon Web Services Region where the connection is located. *
* * @return The Amazon Web Services Region where the connection is located. */ public String getRegion() { return this.region; } /** ** The Amazon Web Services Region where the connection is located. *
* * @param region * The Amazon Web Services Region where the connection is located. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withRegion(String region) { setRegion(region); return this; } /** ** The minimum number of physical dedicated connections that must be operational for the LAG itself to be * operational. *
* * @param minimumLinks * The minimum number of physical dedicated connections that must be operational for the LAG itself to be * operational. */ public void setMinimumLinks(Integer minimumLinks) { this.minimumLinks = minimumLinks; } /** ** The minimum number of physical dedicated connections that must be operational for the LAG itself to be * operational. *
* * @return The minimum number of physical dedicated connections that must be operational for the LAG itself to be * operational. */ public Integer getMinimumLinks() { return this.minimumLinks; } /** ** The minimum number of physical dedicated connections that must be operational for the LAG itself to be * operational. *
* * @param minimumLinks * The minimum number of physical dedicated connections that must be operational for the LAG itself to be * operational. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withMinimumLinks(Integer minimumLinks) { setMinimumLinks(minimumLinks); return this; } /** ** The Direct Connect endpoint that hosts the LAG. *
* * @param awsDevice * The Direct Connect endpoint that hosts the LAG. */ public void setAwsDevice(String awsDevice) { this.awsDevice = awsDevice; } /** ** The Direct Connect endpoint that hosts the LAG. *
* * @return The Direct Connect endpoint that hosts the LAG. */ public String getAwsDevice() { return this.awsDevice; } /** ** The Direct Connect endpoint that hosts the LAG. *
* * @param awsDevice * The Direct Connect endpoint that hosts the LAG. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withAwsDevice(String awsDevice) { setAwsDevice(awsDevice); return this; } /** ** The Direct Connect endpoint that hosts the LAG. *
* * @param awsDeviceV2 * The Direct Connect endpoint that hosts the LAG. */ public void setAwsDeviceV2(String awsDeviceV2) { this.awsDeviceV2 = awsDeviceV2; } /** ** The Direct Connect endpoint that hosts the LAG. *
* * @return The Direct Connect endpoint that hosts the LAG. */ public String getAwsDeviceV2() { return this.awsDeviceV2; } /** ** The Direct Connect endpoint that hosts the LAG. *
* * @param awsDeviceV2 * The Direct Connect endpoint that hosts the LAG. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withAwsDeviceV2(String awsDeviceV2) { setAwsDeviceV2(awsDeviceV2); return this; } /** ** The Direct Connect endpoint that terminates the logical connection. This device might be different than the * device that terminates the physical connection. *
* * @param awsLogicalDeviceId * The Direct Connect endpoint that terminates the logical connection. This device might be different than * the device that terminates the physical connection. */ public void setAwsLogicalDeviceId(String awsLogicalDeviceId) { this.awsLogicalDeviceId = awsLogicalDeviceId; } /** ** The Direct Connect endpoint that terminates the logical connection. This device might be different than the * device that terminates the physical connection. *
* * @return 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() { return this.awsLogicalDeviceId; } /** ** The Direct Connect endpoint that terminates the logical connection. This device might be different than the * device that terminates the physical connection. *
* * @param awsLogicalDeviceId * The Direct Connect endpoint that terminates the logical connection. This device might be different than * the device that terminates the physical connection. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withAwsLogicalDeviceId(String awsLogicalDeviceId) { setAwsLogicalDeviceId(awsLogicalDeviceId); return this; } /** ** The connections bundled by the LAG. *
* * @return The connections bundled by the LAG. */ public java.util.List* The connections bundled by the LAG. *
* * @param connections * The connections bundled by the LAG. */ public void setConnections(java.util.Collection* The connections bundled by the LAG. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setConnections(java.util.Collection)} or {@link #withConnections(java.util.Collection)} if you want to * override the existing values. *
* * @param connections * The connections bundled by the LAG. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withConnections(Connection... connections) { if (this.connections == null) { setConnections(new com.amazonaws.internal.SdkInternalList* The connections bundled by the LAG. *
* * @param connections * The connections bundled by the LAG. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withConnections(java.util.Collection* Indicates whether the LAG can host other connections. *
* * @param allowsHostedConnections * Indicates whether the LAG can host other connections. */ public void setAllowsHostedConnections(Boolean allowsHostedConnections) { this.allowsHostedConnections = allowsHostedConnections; } /** ** Indicates whether the LAG can host other connections. *
* * @return Indicates whether the LAG can host other connections. */ public Boolean getAllowsHostedConnections() { return this.allowsHostedConnections; } /** ** Indicates whether the LAG can host other connections. *
* * @param allowsHostedConnections * Indicates whether the LAG can host other connections. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withAllowsHostedConnections(Boolean allowsHostedConnections) { setAllowsHostedConnections(allowsHostedConnections); return this; } /** ** Indicates whether the LAG can host other connections. *
* * @return Indicates whether the LAG can host other connections. */ public Boolean isAllowsHostedConnections() { return this.allowsHostedConnections; } /** ** Indicates whether jumbo frames are supported. *
* * @param jumboFrameCapable * Indicates whether jumbo frames are supported. */ public void setJumboFrameCapable(Boolean jumboFrameCapable) { this.jumboFrameCapable = jumboFrameCapable; } /** ** Indicates whether jumbo frames are supported. *
* * @return Indicates whether jumbo frames are supported. */ public Boolean getJumboFrameCapable() { return this.jumboFrameCapable; } /** ** Indicates whether jumbo frames are supported. *
* * @param jumboFrameCapable * Indicates whether jumbo frames are supported. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withJumboFrameCapable(Boolean jumboFrameCapable) { setJumboFrameCapable(jumboFrameCapable); return this; } /** ** Indicates whether jumbo frames are supported. *
* * @return Indicates whether jumbo frames are supported. */ public Boolean isJumboFrameCapable() { return this.jumboFrameCapable; } /** ** Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6). *
* * @param hasLogicalRedundancy * Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6). * @see HasLogicalRedundancy */ public void setHasLogicalRedundancy(String hasLogicalRedundancy) { this.hasLogicalRedundancy = hasLogicalRedundancy; } /** ** Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6). *
* * @return Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6). * @see HasLogicalRedundancy */ public String getHasLogicalRedundancy() { return this.hasLogicalRedundancy; } /** ** Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6). *
* * @param hasLogicalRedundancy * Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6). * @return Returns a reference to this object so that method calls can be chained together. * @see HasLogicalRedundancy */ public UpdateLagResult withHasLogicalRedundancy(String hasLogicalRedundancy) { setHasLogicalRedundancy(hasLogicalRedundancy); return this; } /** ** Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6). *
* * @param hasLogicalRedundancy * Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6). * @see HasLogicalRedundancy */ public void setHasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy) { withHasLogicalRedundancy(hasLogicalRedundancy); } /** ** Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6). *
* * @param hasLogicalRedundancy * Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6). * @return Returns a reference to this object so that method calls can be chained together. * @see HasLogicalRedundancy */ public UpdateLagResult withHasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy) { this.hasLogicalRedundancy = hasLogicalRedundancy.toString(); return this; } /** ** The tags associated with the LAG. *
* * @return The tags associated with the LAG. */ public java.util.List* The tags associated with the LAG. *
* * @param tags * The tags associated with the LAG. */ public void setTags(java.util.Collection* The tags associated with the LAG. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * The tags associated with the LAG. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withTags(Tag... tags) { if (this.tags == null) { setTags(new com.amazonaws.internal.SdkInternalList* The tags associated with the LAG. *
* * @param tags * The tags associated with the LAG. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withTags(java.util.Collection* The name of the service provider associated with the LAG. *
* * @param providerName * The name of the service provider associated with the LAG. */ public void setProviderName(String providerName) { this.providerName = providerName; } /** ** The name of the service provider associated with the LAG. *
* * @return The name of the service provider associated with the LAG. */ public String getProviderName() { return this.providerName; } /** ** The name of the service provider associated with the LAG. *
* * @param providerName * The name of the service provider associated with the LAG. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withProviderName(String providerName) { setProviderName(providerName); return this; } /** ** Indicates whether the LAG supports MAC Security (MACsec). *
* * @param macSecCapable * Indicates whether the LAG supports MAC Security (MACsec). */ public void setMacSecCapable(Boolean macSecCapable) { this.macSecCapable = macSecCapable; } /** ** Indicates whether the LAG supports MAC Security (MACsec). *
* * @return Indicates whether the LAG supports MAC Security (MACsec). */ public Boolean getMacSecCapable() { return this.macSecCapable; } /** ** Indicates whether the LAG supports MAC Security (MACsec). *
* * @param macSecCapable * Indicates whether the LAG supports MAC Security (MACsec). * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withMacSecCapable(Boolean macSecCapable) { setMacSecCapable(macSecCapable); return this; } /** ** Indicates whether the LAG supports MAC Security (MACsec). *
* * @return Indicates whether the LAG supports MAC Security (MACsec). */ public Boolean isMacSecCapable() { return this.macSecCapable; } /** ** 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 void setEncryptionMode(String encryptionMode) {
this.encryptionMode = encryptionMode;
}
/**
*
* 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 String getEncryptionMode() {
return this.encryptionMode;
}
/**
*
* 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
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateLagResult withEncryptionMode(String encryptionMode) {
setEncryptionMode(encryptionMode);
return this;
}
/**
*
* The MAC Security (MACsec) security keys associated with the LAG. *
* * @return The MAC Security (MACsec) security keys associated with the LAG. */ public java.util.List* The MAC Security (MACsec) security keys associated with the LAG. *
* * @param macSecKeys * The MAC Security (MACsec) security keys associated with the LAG. */ public void setMacSecKeys(java.util.Collection* The MAC Security (MACsec) security keys associated with the LAG. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setMacSecKeys(java.util.Collection)} or {@link #withMacSecKeys(java.util.Collection)} if you want to * override the existing values. *
* * @param macSecKeys * The MAC Security (MACsec) security keys associated with the LAG. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withMacSecKeys(MacSecKey... macSecKeys) { if (this.macSecKeys == null) { setMacSecKeys(new com.amazonaws.internal.SdkInternalList* The MAC Security (MACsec) security keys associated with the LAG. *
* * @param macSecKeys * The MAC Security (MACsec) security keys associated with the LAG. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLagResult withMacSecKeys(java.util.Collection