Interface Interconnect.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Interconnect.Builder,Interconnect>,SdkBuilder<Interconnect.Builder,Interconnect>,SdkPojo
- Enclosing class:
- Interconnect
public static interface Interconnect.Builder extends SdkPojo, CopyableBuilder<Interconnect.Builder,Interconnect>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Interconnect.BuilderawsDevice(String awsDevice)The Direct Connect endpoint on which the physical connection terminates.Interconnect.BuilderawsDeviceV2(String awsDeviceV2)The Direct Connect endpoint that terminates the physical connection.Interconnect.BuilderawsLogicalDeviceId(String awsLogicalDeviceId)The Direct Connect endpoint that terminates the logical connection.Interconnect.Builderbandwidth(String bandwidth)The bandwidth of the connection.Interconnect.BuilderhasLogicalRedundancy(String hasLogicalRedundancy)Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).Interconnect.BuilderhasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).Interconnect.BuilderinterconnectId(String interconnectId)The ID of the interconnect.Interconnect.BuilderinterconnectName(String interconnectName)The name of the interconnect.Interconnect.BuilderinterconnectState(String interconnectState)The state of the interconnect.Interconnect.BuilderinterconnectState(InterconnectState interconnectState)The state of the interconnect.Interconnect.BuilderjumboFrameCapable(Boolean jumboFrameCapable)Indicates whether jumbo frames are supported.Interconnect.BuilderlagId(String lagId)The ID of the LAG.Interconnect.BuilderloaIssueTime(Instant loaIssueTime)The time of the most recent call to DescribeLoa for this connection.Interconnect.Builderlocation(String location)The location of the connection.Interconnect.BuilderproviderName(String providerName)The name of the service provider associated with the interconnect.Interconnect.Builderregion(String region)The Amazon Web Services Region where the connection is located.Interconnect.Buildertags(Collection<Tag> tags)The tags associated with the interconnect.Interconnect.Buildertags(Consumer<Tag.Builder>... tags)The tags associated with the interconnect.Interconnect.Buildertags(Tag... tags)The tags associated with the interconnect.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
interconnectId
Interconnect.Builder interconnectId(String interconnectId)
The ID of the interconnect.
- Parameters:
interconnectId- The ID of the interconnect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interconnectName
Interconnect.Builder interconnectName(String interconnectName)
The name of the interconnect.
- Parameters:
interconnectName- The name of the interconnect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interconnectState
Interconnect.Builder interconnectState(String interconnectState)
The state of the interconnect. The following are the possible values:
-
requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. -
pending: The interconnect is approved, and is being initialized. -
available: The network link is up, and the interconnect is ready for use. -
down: The network link is down. -
deleting: The interconnect is being deleted. -
deleted: The interconnect is deleted. -
unknown: The state of the interconnect is not available.
- Parameters:
interconnectState- The state of the interconnect. The following are the possible values:-
requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. -
pending: The interconnect is approved, and is being initialized. -
available: The network link is up, and the interconnect is ready for use. -
down: The network link is down. -
deleting: The interconnect is being deleted. -
deleted: The interconnect is deleted. -
unknown: The state of the interconnect is not available.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InterconnectState,InterconnectState
-
-
interconnectState
Interconnect.Builder interconnectState(InterconnectState interconnectState)
The state of the interconnect. The following are the possible values:
-
requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. -
pending: The interconnect is approved, and is being initialized. -
available: The network link is up, and the interconnect is ready for use. -
down: The network link is down. -
deleting: The interconnect is being deleted. -
deleted: The interconnect is deleted. -
unknown: The state of the interconnect is not available.
- Parameters:
interconnectState- The state of the interconnect. The following are the possible values:-
requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. -
pending: The interconnect is approved, and is being initialized. -
available: The network link is up, and the interconnect is ready for use. -
down: The network link is down. -
deleting: The interconnect is being deleted. -
deleted: The interconnect is deleted. -
unknown: The state of the interconnect is not available.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InterconnectState,InterconnectState
-
-
region
Interconnect.Builder region(String region)
The Amazon Web Services Region where the connection is located.
- Parameters:
region- The Amazon Web Services Region where the connection is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
Interconnect.Builder location(String location)
The location of the connection.
- Parameters:
location- The location of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bandwidth
Interconnect.Builder bandwidth(String bandwidth)
The bandwidth of the connection.
- Parameters:
bandwidth- The bandwidth of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loaIssueTime
Interconnect.Builder loaIssueTime(Instant loaIssueTime)
The time of the most recent call to DescribeLoa for this connection.
- Parameters:
loaIssueTime- The time of the most recent call to DescribeLoa for this connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lagId
Interconnect.Builder lagId(String lagId)
The ID of the LAG.
- Parameters:
lagId- The ID of the LAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsDevice
Interconnect.Builder awsDevice(String awsDevice)
The Direct Connect endpoint on which the physical connection terminates.
- Parameters:
awsDevice- The Direct Connect endpoint on which the physical connection terminates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jumboFrameCapable
Interconnect.Builder jumboFrameCapable(Boolean jumboFrameCapable)
Indicates whether jumbo frames are supported.
- Parameters:
jumboFrameCapable- Indicates whether jumbo frames are supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsDeviceV2
Interconnect.Builder awsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint that terminates the physical connection.
- Parameters:
awsDeviceV2- The Direct Connect endpoint that terminates the physical connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsLogicalDeviceId
Interconnect.Builder awsLogicalDeviceId(String awsLogicalDeviceId)
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
- Parameters:
awsLogicalDeviceId- The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hasLogicalRedundancy
Interconnect.Builder hasLogicalRedundancy(String hasLogicalRedundancy)
Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).
- Parameters:
hasLogicalRedundancy- Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HasLogicalRedundancy,HasLogicalRedundancy
-
hasLogicalRedundancy
Interconnect.Builder hasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)
Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).
- Parameters:
hasLogicalRedundancy- Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HasLogicalRedundancy,HasLogicalRedundancy
-
tags
Interconnect.Builder tags(Collection<Tag> tags)
The tags associated with the interconnect.
- Parameters:
tags- The tags associated with the interconnect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Interconnect.Builder tags(Tag... tags)
The tags associated with the interconnect.
- Parameters:
tags- The tags associated with the interconnect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Interconnect.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with the interconnect.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
providerName
Interconnect.Builder providerName(String providerName)
The name of the service provider associated with the interconnect.
- Parameters:
providerName- The name of the service provider associated with the interconnect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-