Interface UpdateStageRequest.Builder
-
- All Superinterfaces:
ApiGatewayV2Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateStageRequest.Builder,UpdateStageRequest>,SdkBuilder<UpdateStageRequest.Builder,UpdateStageRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateStageRequest
public static interface UpdateStageRequest.Builder extends ApiGatewayV2Request.Builder, SdkPojo, CopyableBuilder<UpdateStageRequest.Builder,UpdateStageRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateStageRequest.BuilderaccessLogSettings(Consumer<AccessLogSettings.Builder> accessLogSettings)Settings for logging access in this stage.UpdateStageRequest.BuilderaccessLogSettings(AccessLogSettings accessLogSettings)Settings for logging access in this stage.UpdateStageRequest.BuilderapiId(String apiId)The API identifier.UpdateStageRequest.BuilderautoDeploy(Boolean autoDeploy)Specifies whether updates to an API automatically trigger a new deployment.UpdateStageRequest.BuilderclientCertificateId(String clientCertificateId)The identifier of a client certificate for a Stage.default UpdateStageRequest.BuilderdefaultRouteSettings(Consumer<RouteSettings.Builder> defaultRouteSettings)The default route settings for the stage.UpdateStageRequest.BuilderdefaultRouteSettings(RouteSettings defaultRouteSettings)The default route settings for the stage.UpdateStageRequest.BuilderdeploymentId(String deploymentId)The deployment identifier for the API stage.UpdateStageRequest.Builderdescription(String description)The description for the API stage.UpdateStageRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateStageRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateStageRequest.BuilderrouteSettings(Map<String,RouteSettings> routeSettings)Route settings for the stage.UpdateStageRequest.BuilderstageName(String stageName)The stage name.UpdateStageRequest.BuilderstageVariables(Map<String,String> stageVariables)A map that defines the stage variables for a Stage.-
Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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.
-
accessLogSettings
default UpdateStageRequest.Builder accessLogSettings(Consumer<AccessLogSettings.Builder> accessLogSettings)
Settings for logging access in this stage.
This is a convenience method that creates an instance of theAccessLogSettings.Builderavoiding the need to create one manually viaAccessLogSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessLogSettings(AccessLogSettings).- Parameters:
accessLogSettings- a consumer that will call methods onAccessLogSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
accessLogSettings(AccessLogSettings)
-
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.
-
defaultRouteSettings
default UpdateStageRequest.Builder defaultRouteSettings(Consumer<RouteSettings.Builder> defaultRouteSettings)
The default route settings for the stage.
This is a convenience method that creates an instance of theRouteSettings.Builderavoiding the need to create one manually viaRouteSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultRouteSettings(RouteSettings).- Parameters:
defaultRouteSettings- a consumer that will call methods onRouteSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
defaultRouteSettings(RouteSettings)
-
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.
-
overrideConfiguration
UpdateStageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateStageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-