Interface CreateInterconnectResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateInterconnectResponse.Builder,CreateInterconnectResponse>,DirectConnectResponse.Builder,SdkBuilder<CreateInterconnectResponse.Builder,CreateInterconnectResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateInterconnectResponse
public static interface CreateInterconnectResponse.Builder extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateInterconnectResponse.Builder,CreateInterconnectResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateInterconnectResponse.BuilderawsDevice(String awsDevice)The Direct Connect endpoint on which the physical connection terminates.CreateInterconnectResponse.BuilderawsDeviceV2(String awsDeviceV2)The Direct Connect endpoint that terminates the physical connection.CreateInterconnectResponse.BuilderawsLogicalDeviceId(String awsLogicalDeviceId)The Direct Connect endpoint that terminates the logical connection.CreateInterconnectResponse.Builderbandwidth(String bandwidth)The bandwidth of the connection.CreateInterconnectResponse.BuilderhasLogicalRedundancy(String hasLogicalRedundancy)Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).CreateInterconnectResponse.BuilderhasLogicalRedundancy(HasLogicalRedundancy hasLogicalRedundancy)Indicates whether the interconnect supports a secondary BGP in the same address family (IPv4/IPv6).CreateInterconnectResponse.BuilderinterconnectId(String interconnectId)The ID of the interconnect.CreateInterconnectResponse.BuilderinterconnectName(String interconnectName)The name of the interconnect.CreateInterconnectResponse.BuilderinterconnectState(String interconnectState)The state of the interconnect.CreateInterconnectResponse.BuilderinterconnectState(InterconnectState interconnectState)The state of the interconnect.CreateInterconnectResponse.BuilderjumboFrameCapable(Boolean jumboFrameCapable)Indicates whether jumbo frames are supported.CreateInterconnectResponse.BuilderlagId(String lagId)The ID of the LAG.CreateInterconnectResponse.BuilderloaIssueTime(Instant loaIssueTime)The time of the most recent call to DescribeLoa for this connection.CreateInterconnectResponse.Builderlocation(String location)The location of the connection.CreateInterconnectResponse.BuilderproviderName(String providerName)The name of the service provider associated with the interconnect.CreateInterconnectResponse.Builderregion(String region)The Amazon Web Services Region where the connection is located.CreateInterconnectResponse.Buildertags(Collection<Tag> tags)The tags associated with the interconnect.CreateInterconnectResponse.Buildertags(Consumer<Tag.Builder>... tags)The tags associated with the interconnect.CreateInterconnectResponse.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.services.directconnect.model.DirectConnectResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
interconnectId
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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
CreateInterconnectResponse.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.
-
-