Interface RouteServer.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RouteServer.Builder,
,RouteServer> SdkBuilder<RouteServer.Builder,
,RouteServer> SdkPojo
- Enclosing class:
RouteServer
-
Method Summary
Modifier and TypeMethodDescriptionamazonSideAsn
(Long amazonSideAsn) The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance.persistRoutesDuration
(Long persistRoutesDuration) The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB.persistRoutesState
(String persistRoutesState) The current state of route persistence for the route server.persistRoutesState
(RouteServerPersistRoutesState persistRoutesState) The current state of route persistence for the route server.routeServerId
(String routeServerId) The unique identifier of the route server.snsNotificationsEnabled
(Boolean snsNotificationsEnabled) Indicates whether SNS notifications are enabled for the route server.snsTopicArn
(String snsTopicArn) The ARN of the SNS topic where notifications are published.The current state of the route server.state
(RouteServerState state) The current state of the route server.tags
(Collection<Tag> tags) Any tags assigned to the route server.tags
(Consumer<Tag.Builder>... tags) Any tags assigned to the route server.Any tags assigned to the route server.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, sdkFieldNameToField, sdkFields
-
Method Details
-
routeServerId
The unique identifier of the route server.
- Parameters:
routeServerId
- The unique identifier of the route server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amazonSideAsn
The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295. We recommend using a private ASN in the 64512–65534 (16-bit ASN) or 4200000000–4294967294 (32-bit ASN) range.
- Parameters:
amazonSideAsn
- The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295. We recommend using a private ASN in the 64512–65534 (16-bit ASN) or 4200000000–4294967294 (32-bit ASN) range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the route server.
- Parameters:
state
- The current state of the route server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the route server.
- Parameters:
state
- The current state of the route server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Any tags assigned to the route server.
- Parameters:
tags
- Any tags assigned to the route server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the route server.
- Parameters:
tags
- Any tags assigned to the route server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the route server.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-
persistRoutesState
The current state of route persistence for the route server.
- Parameters:
persistRoutesState
- The current state of route persistence for the route server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
persistRoutesState
The current state of route persistence for the route server.
- Parameters:
persistRoutesState
- The current state of route persistence for the route server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
persistRoutesDuration
The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. The default value is 1. Only valid if
persistRoutesState
is 'enabled'.If you set the duration to 1 minute, then when your network appliance re-establishes BGP with route server, it has 1 minute to relearn it's adjacent network and advertise those routes to route server before route server resumes normal functionality. In most cases, 1 minute is probably sufficient. If, however, you have concerns that your BGP network may not be capable of fully re-establishing and re-learning everything in 1 minute, you can increase the duration up to 5 minutes.
- Parameters:
persistRoutesDuration
- The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. The default value is 1. Only valid ifpersistRoutesState
is 'enabled'.If you set the duration to 1 minute, then when your network appliance re-establishes BGP with route server, it has 1 minute to relearn it's adjacent network and advertise those routes to route server before route server resumes normal functionality. In most cases, 1 minute is probably sufficient. If, however, you have concerns that your BGP network may not be capable of fully re-establishing and re-learning everything in 1 minute, you can increase the duration up to 5 minutes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsNotificationsEnabled
Indicates whether SNS notifications are enabled for the route server. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by Amazon Web Services.
- Parameters:
snsNotificationsEnabled
- Indicates whether SNS notifications are enabled for the route server. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by Amazon Web Services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsTopicArn
The ARN of the SNS topic where notifications are published.
- Parameters:
snsTopicArn
- The ARN of the SNS topic where notifications are published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-