Interface UpdateVirtualInterfaceAttributesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateVirtualInterfaceAttributesRequest.Builder,,UpdateVirtualInterfaceAttributesRequest> DirectConnectRequest.Builder,SdkBuilder<UpdateVirtualInterfaceAttributesRequest.Builder,,UpdateVirtualInterfaceAttributesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateVirtualInterfaceAttributesRequest
@Mutable
@NotThreadSafe
public static interface UpdateVirtualInterfaceAttributesRequest.Builder
extends DirectConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateVirtualInterfaceAttributesRequest.Builder,UpdateVirtualInterfaceAttributesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionenableSiteLink(Boolean enableSiteLink) Indicates whether to enable or disable SiteLink.The maximum transmission unit (MTU), in bytes.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.prefixPoolAllocatedCountIpv4(Integer prefixPoolAllocatedCountIpv4) The number of inbound IPv4 route prefixes to allocate to the virtual interface.prefixPoolAllocatedCountIpv6(Integer prefixPoolAllocatedCountIpv6) The number of inbound IPv6 route prefixes to allocate to the virtual interface.The rate limit (bandwidth allocation) to apply to the virtual interface.virtualInterfaceId(String virtualInterfaceId) The ID of the virtual private interface.virtualInterfaceName(String virtualInterfaceName) The name of the virtual private interface.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
virtualInterfaceId
The ID of the virtual private interface.
- Parameters:
virtualInterfaceId- The ID of the virtual private interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mtu
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500.
- Parameters:
mtu- The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableSiteLink
Indicates whether to enable or disable SiteLink.
- Parameters:
enableSiteLink- Indicates whether to enable or disable SiteLink.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualInterfaceName
The name of the virtual private interface.
- Parameters:
virtualInterfaceName- The name of the virtual private interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixPoolAllocatedCountIpv4
UpdateVirtualInterfaceAttributesRequest.Builder prefixPoolAllocatedCountIpv4(Integer prefixPoolAllocatedCountIpv4) The number of inbound IPv4 route prefixes to allocate to the virtual interface. Not applicable to public virtual interfaces.
- Parameters:
prefixPoolAllocatedCountIpv4- The number of inbound IPv4 route prefixes to allocate to the virtual interface. Not applicable to public virtual interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixPoolAllocatedCountIpv6
UpdateVirtualInterfaceAttributesRequest.Builder prefixPoolAllocatedCountIpv6(Integer prefixPoolAllocatedCountIpv6) The number of inbound IPv6 route prefixes to allocate to the virtual interface. Not applicable to public virtual interfaces.
- Parameters:
prefixPoolAllocatedCountIpv6- The number of inbound IPv6 route prefixes to allocate to the virtual interface. Not applicable to public virtual interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rateLimit
The rate limit (bandwidth allocation) to apply to the virtual interface. Use this to update the bandwidth allocation on an existing virtual interface.
- Parameters:
rateLimit- The rate limit (bandwidth allocation) to apply to the virtual interface. Use this to update the bandwidth allocation on an existing virtual interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateVirtualInterfaceAttributesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateVirtualInterfaceAttributesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-