Interface RouteServer.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RouteServer.Builder,RouteServer>,SdkBuilder<RouteServer.Builder,RouteServer>,SdkPojo
- Enclosing class:
- RouteServer
@Mutable @NotThreadSafe public static interface RouteServer.Builder extends SdkPojo, CopyableBuilder<RouteServer.Builder,RouteServer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RouteServer.BuilderamazonSideAsn(Long amazonSideAsn)The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance.RouteServer.BuilderpersistRoutesDuration(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.RouteServer.BuilderpersistRoutesState(String persistRoutesState)The current state of route persistence for the route server.RouteServer.BuilderpersistRoutesState(RouteServerPersistRoutesState persistRoutesState)The current state of route persistence for the route server.RouteServer.BuilderrouteServerId(String routeServerId)The unique identifier of the route server.RouteServer.BuildersnsNotificationsEnabled(Boolean snsNotificationsEnabled)Indicates whether SNS notifications are enabled for the route server.RouteServer.BuildersnsTopicArn(String snsTopicArn)The ARN of the SNS topic where notifications are published.RouteServer.Builderstate(String state)The current state of the route server.RouteServer.Builderstate(RouteServerState state)The current state of the route server.RouteServer.Buildertags(Collection<Tag> tags)Any tags assigned to the route server.RouteServer.Buildertags(Consumer<Tag.Builder>... tags)Any tags assigned to the route server.RouteServer.Buildertags(Tag... tags)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 Detail
-
routeServerId
RouteServer.Builder routeServerId(String 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
RouteServer.Builder amazonSideAsn(Long 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
RouteServer.Builder state(String 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:
RouteServerState,RouteServerState
-
state
RouteServer.Builder state(RouteServerState 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:
RouteServerState,RouteServerState
-
tags
RouteServer.Builder tags(Collection<Tag> 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
RouteServer.Builder tags(Tag... 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
RouteServer.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the route server.
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)
-
persistRoutesState
RouteServer.Builder persistRoutesState(String 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:
RouteServerPersistRoutesState,RouteServerPersistRoutesState
-
persistRoutesState
RouteServer.Builder persistRoutesState(RouteServerPersistRoutesState 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:
RouteServerPersistRoutesState,RouteServerPersistRoutesState
-
persistRoutesDuration
RouteServer.Builder 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. Value must be in the range of 1-5. The default value is 1. Only valid if
persistRoutesStateis '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 ifpersistRoutesStateis '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
RouteServer.Builder snsNotificationsEnabled(Boolean 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
RouteServer.Builder snsTopicArn(String 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.
-
-