Interface EndpointConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EndpointConfig.Builder,,EndpointConfig> SdkBuilder<EndpointConfig.Builder,,EndpointConfig> SdkPojo
- Enclosing class:
EndpointConfig
-
Method Summary
Modifier and TypeMethodDescriptionThe authorization type for the endpoint.The authorization type for the endpoint.autoDeploymentMode(String autoDeploymentMode) The auto-deployment mode for the endpoint.autoDeploymentMode(AutoDeploymentMode autoDeploymentMode) The auto-deployment mode for the endpoint.description(String description) A description of the endpoint.endpointName(String endpointName) The name of the endpoint.endpointType(String endpointType) The type of endpoint.endpointType(EndpointType endpointType) The type of endpoint.The list of Regions for the endpoint.regions(Collection<String> regions) The list of Regions for the endpoint.default EndpointConfig.BuilderscalingConfig(Consumer<ScalingConfig.Builder> scalingConfig) The scaling configuration for the endpoint.scalingConfig(ScalingConfig scalingConfig) The scaling configuration for the endpoint.default EndpointConfig.BuilderthrottleConfig(Consumer<ThrottleConfig.Builder> throttleConfig) The throttling configuration for the endpoint.throttleConfig(ThrottleConfig throttleConfig) The throttling configuration for the endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
endpointName
The name of the endpoint. The name can contain letters, numbers, hyphens (-), and underscores (_), and can't begin or end with a hyphen or an underscore. The length constraint applies only to the full ARN. If you specify only the endpoint name, it is limited to 64 characters in length.
- Parameters:
endpointName- The name of the endpoint. The name can contain letters, numbers, hyphens (-), and underscores (_), and can't begin or end with a hyphen or an underscore. The length constraint applies only to the full ARN. If you specify only the endpoint name, it is limited to 64 characters in length.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the endpoint.
- Parameters:
description- A description of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointType
The type of endpoint. Determines how traffic is served and routed across Regions.
- Parameters:
endpointType- The type of endpoint. Determines how traffic is served and routed across Regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpointType
The type of endpoint. Determines how traffic is served and routed across Regions.
- Parameters:
endpointType- The type of endpoint. Determines how traffic is served and routed across Regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authType
The authorization type for the endpoint.
- Parameters:
authType- The authorization type for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authType
The authorization type for the endpoint.
- Parameters:
authType- The authorization type for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoDeploymentMode
The auto-deployment mode for the endpoint. If you don't specify a value, the default is
Disabled, and this default is returned in the response.- Parameters:
autoDeploymentMode- The auto-deployment mode for the endpoint. If you don't specify a value, the default isDisabled, and this default is returned in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoDeploymentMode
The auto-deployment mode for the endpoint. If you don't specify a value, the default is
Disabled, and this default is returned in the response.- Parameters:
autoDeploymentMode- The auto-deployment mode for the endpoint. If you don't specify a value, the default isDisabled, and this default is returned in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
regions
The list of Regions for the endpoint. Required when the endpoint type is
MultiRegionorPerRegion: specify at least one Region other than the Region where you create the endpoint (the home Region). The home Region is added automatically if you don't include it; specifying only the home Region isn't allowed. When the endpoint type isHomeRegion, omit this field or specify only the home Region.- Parameters:
regions- The list of Regions for the endpoint. Required when the endpoint type isMultiRegionorPerRegion: specify at least one Region other than the Region where you create the endpoint (the home Region). The home Region is added automatically if you don't include it; specifying only the home Region isn't allowed. When the endpoint type isHomeRegion, omit this field or specify only the home Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
The list of Regions for the endpoint. Required when the endpoint type is
MultiRegionorPerRegion: specify at least one Region other than the Region where you create the endpoint (the home Region). The home Region is added automatically if you don't include it; specifying only the home Region isn't allowed. When the endpoint type isHomeRegion, omit this field or specify only the home Region.- Parameters:
regions- The list of Regions for the endpoint. Required when the endpoint type isMultiRegionorPerRegion: specify at least one Region other than the Region where you create the endpoint (the home Region). The home Region is added automatically if you don't include it; specifying only the home Region isn't allowed. When the endpoint type isHomeRegion, omit this field or specify only the home Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingConfig
The scaling configuration for the endpoint.
- Parameters:
scalingConfig- The scaling configuration for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingConfig
The scaling configuration for the endpoint.
This is a convenience method that creates an instance of theScalingConfig.Builderavoiding the need to create one manually viaScalingConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscalingConfig(ScalingConfig).- Parameters:
scalingConfig- a consumer that will call methods onScalingConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
throttleConfig
The throttling configuration for the endpoint.
- Parameters:
throttleConfig- The throttling configuration for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
throttleConfig
The throttling configuration for the endpoint.
This is a convenience method that creates an instance of theThrottleConfig.Builderavoiding the need to create one manually viaThrottleConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tothrottleConfig(ThrottleConfig).- Parameters:
throttleConfig- a consumer that will call methods onThrottleConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-