/* * 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; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Information about an interconnect. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Interconnect implements Serializable, Cloneable, StructuredPojo { /** *

* The ID of the interconnect. *

*/ private String interconnectId; /** *

* The name of the interconnect. *

*/ private String interconnectName; /** *

* The state of the interconnect. The following are the possible values: *

* */ private String interconnectState; /** *

* The Amazon Web Services Region where the connection is located. *

*/ private String region; /** *

* The location of the connection. *

*/ private String location; /** *

* The bandwidth of the connection. *

*/ private String bandwidth; /** *

* The time of the most recent call to DescribeLoa for this connection. *

*/ private java.util.Date loaIssueTime; /** *

* The ID of the LAG. *

*/ private String lagId; /** *

* The Direct Connect endpoint on which the physical connection terminates. *

*/ private String awsDevice; /** *

* Indicates whether jumbo frames are supported. *

*/ private Boolean jumboFrameCapable; /** *

* The Direct Connect endpoint that terminates the physical connection. *

*/ 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; /** *

* Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6). *

*/ private String hasLogicalRedundancy; /** *

* The tags associated with the interconnect. *

*/ private com.amazonaws.internal.SdkInternalList tags; /** *

* The name of the service provider associated with the interconnect. *

*/ private String providerName; /** *

* The ID of the interconnect. *

* * @param interconnectId * The ID of the interconnect. */ public void setInterconnectId(String interconnectId) { this.interconnectId = interconnectId; } /** *

* The ID of the interconnect. *

* * @return The ID of the interconnect. */ public String getInterconnectId() { return this.interconnectId; } /** *

* The ID of the interconnect. *

* * @param interconnectId * The ID of the interconnect. * @return Returns a reference to this object so that method calls can be chained together. */ public Interconnect withInterconnectId(String interconnectId) { setInterconnectId(interconnectId); return this; } /** *

* The name of the interconnect. *

* * @param interconnectName * The name of the interconnect. */ public void setInterconnectName(String interconnectName) { this.interconnectName = interconnectName; } /** *

* The name of the interconnect. *

* * @return The name of the interconnect. */ public String getInterconnectName() { return this.interconnectName; } /** *

* The name of the interconnect. *

* * @param interconnectName * The name of the interconnect. * @return Returns a reference to this object so that method calls can be chained together. */ public Interconnect withInterconnectName(String interconnectName) { setInterconnectName(interconnectName); return this; } /** *

* The state of the interconnect. The following are the possible values: *

* * * @param interconnectState * The state of the interconnect. The following are the possible values:

*