Interface StartBgpFailoverTestRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartBgpFailoverTestRequest.Builder,
,StartBgpFailoverTestRequest> DirectConnectRequest.Builder
,SdkBuilder<StartBgpFailoverTestRequest.Builder,
,StartBgpFailoverTestRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartBgpFailoverTestRequest
public static interface StartBgpFailoverTestRequest.Builder
extends DirectConnectRequest.Builder, SdkPojo, CopyableBuilder<StartBgpFailoverTestRequest.Builder,StartBgpFailoverTestRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe BGP peers to place in the DOWN state.bgpPeers
(Collection<String> bgpPeers) The BGP peers to place in the DOWN state.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.testDurationInMinutes
(Integer testDurationInMinutes) The time in minutes that the virtual interface failover test will last.virtualInterfaceId
(String virtualInterfaceId) The ID of the virtual interface you want to test.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
virtualInterfaceId
The ID of the virtual interface you want to test.
- Parameters:
virtualInterfaceId
- The ID of the virtual interface you want to test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpPeers
The BGP peers to place in the DOWN state.
- Parameters:
bgpPeers
- The BGP peers to place in the DOWN state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpPeers
The BGP peers to place in the DOWN state.
- Parameters:
bgpPeers
- The BGP peers to place in the DOWN state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testDurationInMinutes
The time in minutes that the virtual interface failover test will last.
Maximum value: 4,320 minutes (72 hours).
Default: 180 minutes (3 hours).
- Parameters:
testDurationInMinutes
- The time in minutes that the virtual interface failover test will last.Maximum value: 4,320 minutes (72 hours).
Default: 180 minutes (3 hours).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartBgpFailoverTestRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartBgpFailoverTestRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-