Interface UpdateWebFunctionEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateWebFunctionEndpointRequest.Builder,,UpdateWebFunctionEndpointRequest> LambdaWebRequest.Builder,SdkBuilder<UpdateWebFunctionEndpointRequest.Builder,,UpdateWebFunctionEndpointRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateWebFunctionEndpointRequest
-
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 endpoint to update.functionName(String functionName) The web function.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 web function.
You can specify either of the following:
-
The function name, for example
my-function. -
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 web function.You can specify either of the following:
-
The function name, for example
my-function. -
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 endpoint to update.
You can specify either of the following:
-
The endpoint name, for example
my-endpoint. -
The endpoint ARN.
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 endpoint to update.You can specify either of the following:
-
The endpoint name, for example
my-endpoint. -
The endpoint ARN.
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. Omit this field to keep the current description.
- Parameters:
description- A description of the endpoint. Omit this field to keep the current description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authType
The authorization type for the endpoint. Omit this field to keep the current authorization type.
Valid values:
-
ApplicationManaged– Your application handles authorization. -
IamAuth– Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).
- Parameters:
authType- The authorization type for the endpoint. Omit this field to keep the current authorization type.Valid values:
-
ApplicationManaged– Your application handles authorization. -
IamAuth– Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
authType
The authorization type for the endpoint. Omit this field to keep the current authorization type.
Valid values:
-
ApplicationManaged– Your application handles authorization. -
IamAuth– Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).
- Parameters:
authType- The authorization type for the endpoint. Omit this field to keep the current authorization type.Valid values:
-
ApplicationManaged– Your application handles authorization. -
IamAuth– Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).
-
- 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. Omit this field to keep the current auto-deployment mode.
Valid values:
-
LatestRevision– The endpoint automatically serves the newest revision. -
Disabled– Revision routing stays fixed until you change it.
- Parameters:
autoDeploymentMode- The auto-deployment mode for the endpoint. Omit this field to keep the current auto-deployment mode.Valid values:
-
LatestRevision– The endpoint automatically serves the newest revision. -
Disabled– Revision routing stays fixed until you change it.
-
- 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. Omit this field to keep the current auto-deployment mode.
Valid values:
-
LatestRevision– The endpoint automatically serves the newest revision. -
Disabled– Revision routing stays fixed until you change it.
- Parameters:
autoDeploymentMode- The auto-deployment mode for the endpoint. Omit this field to keep the current auto-deployment mode.Valid values:
-
LatestRevision– The endpoint automatically serves the newest revision. -
Disabled– Revision routing stays fixed until you change it.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
revisionWeights
UpdateWebFunctionEndpointRequest.Builder revisionWeights(Collection<RevisionWeight> revisionWeights) A list of revision weights that determine how traffic is distributed across revisions.
- Parameters:
revisionWeights- A list of revision weights that determine how traffic is distributed across revisions.- 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.
- Parameters:
revisionWeights- A list of revision weights that determine how traffic is distributed across revisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionWeights
UpdateWebFunctionEndpointRequest.Builder revisionWeights(Consumer<RevisionWeight.Builder>... revisionWeights) A list of revision weights that determine how traffic is distributed across revisions.
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:
-
scalingConfig
The scaling configuration for the endpoint. Omit this field to keep the current scaling configuration. To clear a previously set
maxEnvironmentsvalue, specify an empty object.- Parameters:
scalingConfig- The scaling configuration for the endpoint. Omit this field to keep the current scaling configuration. To clear a previously setmaxEnvironmentsvalue, specify an empty object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingConfig
default UpdateWebFunctionEndpointRequest.Builder scalingConfig(Consumer<ScalingConfig.Builder> scalingConfig) The scaling configuration for the endpoint. Omit this field to keep the current scaling configuration. To clear a previously set
This is a convenience method that creates an instance of themaxEnvironmentsvalue, specify an empty object.ScalingConfig.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. Omit this field to keep the current throttling configuration. To clear a previously set
rateLimitvalue, specify an empty object.- Parameters:
throttleConfig- The throttling configuration for the endpoint. Omit this field to keep the current throttling configuration. To clear a previously setrateLimitvalue, specify an empty object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
throttleConfig
default UpdateWebFunctionEndpointRequest.Builder throttleConfig(Consumer<ThrottleConfig.Builder> throttleConfig) The throttling configuration for the endpoint. Omit this field to keep the current throttling configuration. To clear a previously set
This is a convenience method that creates an instance of therateLimitvalue, specify an empty object.ThrottleConfig.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
UpdateWebFunctionEndpointRequest.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
UpdateWebFunctionEndpointRequest.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.
-