Interface UpdateWebFunctionEndpointRequest.Builder

  • 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

      UpdateWebFunctionEndpointRequest.Builder autoDeploymentMode(String 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

      UpdateWebFunctionEndpointRequest.Builder autoDeploymentMode(AutoDeploymentMode 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

      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(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.

      This is a convenience method that creates an instance of the RevisionWeight.Builder avoiding the need to create one manually via RevisionWeight.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to revisionWeights(List<RevisionWeight>).

      Parameters:
      revisionWeights - a consumer that will call methods on RevisionWeight.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 maxEnvironments value, 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 set maxEnvironments value, specify an empty object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scalingConfig

      The scaling configuration for the endpoint. Omit this field to keep the current scaling configuration. To clear a previously set maxEnvironments value, specify an empty object.

      This is a convenience method that creates an instance of the ScalingConfig.Builder avoiding the need to create one manually via ScalingConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scalingConfig(ScalingConfig).

      Parameters:
      scalingConfig - a consumer that will call methods on ScalingConfig.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 rateLimit value, 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 set rateLimit value, specify an empty object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • throttleConfig

      The throttling configuration for the endpoint. Omit this field to keep the current throttling configuration. To clear a previously set rateLimit value, specify an empty object.

      This is a convenience method that creates an instance of the ThrottleConfig.Builder avoiding the need to create one manually via ThrottleConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to throttleConfig(ThrottleConfig).

      Parameters:
      throttleConfig - a consumer that will call methods on ThrottleConfig.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.