Interface CreateRouteServerPeerRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRouteServerPeerRequest.Builder,CreateRouteServerPeerRequest>,Ec2Request.Builder,SdkBuilder<CreateRouteServerPeerRequest.Builder,CreateRouteServerPeerRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateRouteServerPeerRequest
public static interface CreateRouteServerPeerRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateRouteServerPeerRequest.Builder,CreateRouteServerPeerRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateRouteServerPeerRequest.BuilderbgpOptions(Consumer<RouteServerBgpOptionsRequest.Builder> bgpOptions)The BGP options for the peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.CreateRouteServerPeerRequest.BuilderbgpOptions(RouteServerBgpOptionsRequest bgpOptions)The BGP options for the peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.CreateRouteServerPeerRequest.BuilderdryRun(Boolean dryRun)A check for whether you have the required permissions for the action without actually making the request and provides an error response.CreateRouteServerPeerRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateRouteServerPeerRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateRouteServerPeerRequest.BuilderpeerAddress(String peerAddress)The IPv4 address of the peer device.CreateRouteServerPeerRequest.BuilderrouteServerEndpointId(String routeServerEndpointId)The ID of the route server endpoint for which to create a peer.CreateRouteServerPeerRequest.BuildertagSpecifications(Collection<TagSpecification> tagSpecifications)The tags to apply to the route server peer during creation.CreateRouteServerPeerRequest.BuildertagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)The tags to apply to the route server peer during creation.CreateRouteServerPeerRequest.BuildertagSpecifications(TagSpecification... tagSpecifications)The tags to apply to the route server peer during creation.-
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.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
routeServerEndpointId
CreateRouteServerPeerRequest.Builder routeServerEndpointId(String routeServerEndpointId)
The ID of the route server endpoint for which to create a peer.
- Parameters:
routeServerEndpointId- The ID of the route server endpoint for which to create a peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerAddress
CreateRouteServerPeerRequest.Builder peerAddress(String peerAddress)
The IPv4 address of the peer device.
- Parameters:
peerAddress- The IPv4 address of the peer device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpOptions
CreateRouteServerPeerRequest.Builder bgpOptions(RouteServerBgpOptionsRequest bgpOptions)
The BGP options for the peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.
- Parameters:
bgpOptions- The BGP options for the peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpOptions
default CreateRouteServerPeerRequest.Builder bgpOptions(Consumer<RouteServerBgpOptionsRequest.Builder> bgpOptions)
The BGP options for the peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.
This is a convenience method that creates an instance of theRouteServerBgpOptionsRequest.Builderavoiding the need to create one manually viaRouteServerBgpOptionsRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobgpOptions(RouteServerBgpOptionsRequest).- Parameters:
bgpOptions- a consumer that will call methods onRouteServerBgpOptionsRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
bgpOptions(RouteServerBgpOptionsRequest)
-
dryRun
CreateRouteServerPeerRequest.Builder dryRun(Boolean dryRun)
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
dryRun- A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateRouteServerPeerRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the route server peer during creation.
- Parameters:
tagSpecifications- The tags to apply to the route server peer during creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateRouteServerPeerRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the route server peer during creation.
- Parameters:
tagSpecifications- The tags to apply to the route server peer during creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateRouteServerPeerRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the route server peer during creation.
This is a convenience method that creates an instance of theTagSpecification.Builderavoiding the need to create one manually viaTagSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tagSpecifications(List.) - Parameters:
tagSpecifications- a consumer that will call methods onTagSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tagSpecifications(java.util.Collection)
-
overrideConfiguration
CreateRouteServerPeerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRouteServerPeerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-