Interface UpdateStageRequest.Builder

    • Method Detail

      • accessLogSettings

        UpdateStageRequest.Builder accessLogSettings​(AccessLogSettings accessLogSettings)

        Settings for logging access in this stage.

        Parameters:
        accessLogSettings - Settings for logging access in this stage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • apiId

        UpdateStageRequest.Builder apiId​(String apiId)

        The API identifier.

        Parameters:
        apiId - The API identifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoDeploy

        UpdateStageRequest.Builder autoDeploy​(Boolean autoDeploy)

        Specifies whether updates to an API automatically trigger a new deployment. The default value is false.

        Parameters:
        autoDeploy - Specifies whether updates to an API automatically trigger a new deployment. The default value is false.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientCertificateId

        UpdateStageRequest.Builder clientCertificateId​(String clientCertificateId)

        The identifier of a client certificate for a Stage.

        Parameters:
        clientCertificateId - The identifier of a client certificate for a Stage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultRouteSettings

        UpdateStageRequest.Builder defaultRouteSettings​(RouteSettings defaultRouteSettings)

        The default route settings for the stage.

        Parameters:
        defaultRouteSettings - The default route settings for the stage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deploymentId

        UpdateStageRequest.Builder deploymentId​(String deploymentId)

        The deployment identifier for the API stage. Can't be updated if autoDeploy is enabled.

        Parameters:
        deploymentId - The deployment identifier for the API stage. Can't be updated if autoDeploy is enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        UpdateStageRequest.Builder description​(String description)

        The description for the API stage.

        Parameters:
        description - The description for the API stage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routeSettings

        UpdateStageRequest.Builder routeSettings​(Map<String,​RouteSettings> routeSettings)

        Route settings for the stage.

        Parameters:
        routeSettings - Route settings for the stage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stageName

        UpdateStageRequest.Builder stageName​(String stageName)

        The stage name. Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default. Maximum length is 128 characters.

        Parameters:
        stageName - The stage name. Stage names can contain only alphanumeric characters, hyphens, and underscores, or be $default. Maximum length is 128 characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stageVariables

        UpdateStageRequest.Builder stageVariables​(Map<String,​String> stageVariables)

        A map that defines the stage variables for a Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.

        Parameters:
        stageVariables - A map that defines the stage variables for a Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
        Returns:
        Returns a reference to this object so that method calls can be chained together.