Interface CreateWebFunctionEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWebFunctionEndpointRequest.Builder,,CreateWebFunctionEndpointRequest> LambdaWebRequest.Builder,SdkBuilder<CreateWebFunctionEndpointRequest.Builder,,CreateWebFunctionEndpointRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateWebFunctionEndpointRequest
-
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 to create.endpointType(String endpointType) The type of endpoint to create.endpointType(EndpointType endpointType) The type of endpoint to create.functionName(String functionName) The name of the web function to create the endpoint for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The list of Regions for the endpoint.regions(Collection<String> regions) The list of Regions for the endpoint.revisionWeights(Collection<RevisionWeight> revisionWeights) A list of revision weights that determine how traffic is distributed across revisions.revisionWeights(Consumer<RevisionWeight.Builder>... revisionWeights) A list of revision weights that determine how traffic is distributed across revisions.revisionWeights(RevisionWeight... revisionWeights) A list of revision weights that determine how traffic is distributed across revisions.scalingConfig(Consumer<ScalingConfig.Builder> scalingConfig) The scaling configuration for the endpoint.scalingConfig(ScalingConfig scalingConfig) The scaling configuration for the endpoint.throttleConfig(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.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambdaweb.model.LambdaWebRequest.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
-
functionName
The name of the web function to create the endpoint for. You can specify the function name or the function ARN. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
- Parameters:
functionName- The name of the web function to create the endpoint for. You can specify the function name or the function ARN. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointName
The name of the endpoint to create. 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 to create. 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 to create. Determines how traffic is served and routed across Regions.
- Parameters:
endpointType- The type of endpoint to create. 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 to create. Determines how traffic is served and routed across Regions.
- Parameters:
endpointType- The type of endpoint to create. 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. Controls whether the endpoint automatically serves the newest revision. 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. Controls whether the endpoint automatically serves the newest revision. 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. Controls whether the endpoint automatically serves the newest revision. 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. Controls whether the endpoint automatically serves the newest revision. 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:
-
revisionWeights
CreateWebFunctionEndpointRequest.Builder revisionWeights(Collection<RevisionWeight> revisionWeights) A list of revision weights that determine how traffic is distributed across revisions. Up to two revisions can be specified for canary or blue-green deployments.
- Parameters:
revisionWeights- A list of revision weights that determine how traffic is distributed across revisions. Up to two revisions can be specified for canary or blue-green deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionWeights
A list of revision weights that determine how traffic is distributed across revisions. Up to two revisions can be specified for canary or blue-green deployments.
- Parameters:
revisionWeights- A list of revision weights that determine how traffic is distributed across revisions. Up to two revisions can be specified for canary or blue-green deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionWeights
CreateWebFunctionEndpointRequest.Builder revisionWeights(Consumer<RevisionWeight.Builder>... revisionWeights) A list of revision weights that determine how traffic is distributed across revisions. Up to two revisions can be specified for canary or blue-green deployments.
This is a convenience method that creates an instance of theRevisionWeight.Builderavoiding the need to create one manually viaRevisionWeight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torevisionWeights(List<RevisionWeight>).- Parameters:
revisionWeights- a consumer that will call methods onRevisionWeight.Builder- 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. There is no default value. If you don't specify a scaling configuration, it is absent from the response.
- Parameters:
scalingConfig- The scaling configuration for the endpoint. There is no default value. If you don't specify a scaling configuration, it is absent from the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingConfig
default CreateWebFunctionEndpointRequest.Builder scalingConfig(Consumer<ScalingConfig.Builder> scalingConfig) The scaling configuration for the endpoint. There is no default value. If you don't specify a scaling configuration, it is absent from the response.
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. There is no default value. If you don't specify a throttling configuration, it is absent from the response.
- Parameters:
throttleConfig- The throttling configuration for the endpoint. There is no default value. If you don't specify a throttling configuration, it is absent from the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
throttleConfig
default CreateWebFunctionEndpointRequest.Builder throttleConfig(Consumer<ThrottleConfig.Builder> throttleConfig) The throttling configuration for the endpoint. There is no default value. If you don't specify a throttling configuration, it is absent from the response.
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:
-
overrideConfiguration
CreateWebFunctionEndpointRequest.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
CreateWebFunctionEndpointRequest.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.
-