Interface CreateStageResponse.Builder
-
- All Superinterfaces:
ApiGatewayV2Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateStageResponse.Builder,CreateStageResponse>,SdkBuilder<CreateStageResponse.Builder,CreateStageResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateStageResponse
public static interface CreateStageResponse.Builder extends ApiGatewayV2Response.Builder, SdkPojo, CopyableBuilder<CreateStageResponse.Builder,CreateStageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateStageResponse.BuilderaccessLogSettings(Consumer<AccessLogSettings.Builder> accessLogSettings)Settings for logging access in this stage.CreateStageResponse.BuilderaccessLogSettings(AccessLogSettings accessLogSettings)Settings for logging access in this stage.CreateStageResponse.BuilderapiGatewayManaged(Boolean apiGatewayManaged)Specifies whether a stage is managed by API Gateway.CreateStageResponse.BuilderautoDeploy(Boolean autoDeploy)Specifies whether updates to an API automatically trigger a new deployment.CreateStageResponse.BuilderclientCertificateId(String clientCertificateId)The identifier of a client certificate for a Stage.CreateStageResponse.BuildercreatedDate(Instant createdDate)The timestamp when the stage was created.default CreateStageResponse.BuilderdefaultRouteSettings(Consumer<RouteSettings.Builder> defaultRouteSettings)Default route settings for the stage.CreateStageResponse.BuilderdefaultRouteSettings(RouteSettings defaultRouteSettings)Default route settings for the stage.CreateStageResponse.BuilderdeploymentId(String deploymentId)The identifier of the Deployment that the Stage is associated with.CreateStageResponse.Builderdescription(String description)The description of the stage.CreateStageResponse.BuilderlastDeploymentStatusMessage(String lastDeploymentStatusMessage)Describes the status of the last deployment of a stage.CreateStageResponse.BuilderlastUpdatedDate(Instant lastUpdatedDate)The timestamp when the stage was last updated.CreateStageResponse.BuilderrouteSettings(Map<String,RouteSettings> routeSettings)Route settings for the stage, by routeKey.CreateStageResponse.BuilderstageName(String stageName)The name of the stage.CreateStageResponse.BuilderstageVariables(Map<String,String> stageVariables)A map that defines the stage variables for a stage resource.CreateStageResponse.Buildertags(Map<String,String> tags)The collection of tags.-
Methods inherited from interface software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Response.Builder
build, responseMetadata, responseMetadata
-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
accessLogSettings
CreateStageResponse.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 CreateStageResponse.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)
-
apiGatewayManaged
CreateStageResponse.Builder apiGatewayManaged(Boolean apiGatewayManaged)
Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.
- Parameters:
apiGatewayManaged- Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoDeploy
CreateStageResponse.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
CreateStageResponse.Builder clientCertificateId(String clientCertificateId)
The identifier of a client certificate for a Stage. Supported only for WebSocket APIs.
- Parameters:
clientCertificateId- The identifier of a client certificate for a Stage. Supported only for WebSocket APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
CreateStageResponse.Builder createdDate(Instant createdDate)
The timestamp when the stage was created.
- Parameters:
createdDate- The timestamp when the stage was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultRouteSettings
CreateStageResponse.Builder defaultRouteSettings(RouteSettings defaultRouteSettings)
Default route settings for the stage.
- Parameters:
defaultRouteSettings- Default route settings for the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultRouteSettings
default CreateStageResponse.Builder defaultRouteSettings(Consumer<RouteSettings.Builder> defaultRouteSettings)
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
CreateStageResponse.Builder deploymentId(String deploymentId)
The identifier of the Deployment that the Stage is associated with. Can't be updated if autoDeploy is enabled.
- Parameters:
deploymentId- The identifier of the Deployment that the Stage is associated with. Can't be updated if autoDeploy is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateStageResponse.Builder description(String description)
The description of the stage.
- Parameters:
description- The description of the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastDeploymentStatusMessage
CreateStageResponse.Builder lastDeploymentStatusMessage(String lastDeploymentStatusMessage)
Describes the status of the last deployment of a stage. Supported only for stages with autoDeploy enabled.
- Parameters:
lastDeploymentStatusMessage- Describes the status of the last deployment of a stage. Supported only for stages with autoDeploy enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDate
CreateStageResponse.Builder lastUpdatedDate(Instant lastUpdatedDate)
The timestamp when the stage was last updated.
- Parameters:
lastUpdatedDate- The timestamp when the stage was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeSettings
CreateStageResponse.Builder routeSettings(Map<String,RouteSettings> routeSettings)
Route settings for the stage, by routeKey.
- Parameters:
routeSettings- Route settings for the stage, by routeKey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageName
CreateStageResponse.Builder stageName(String stageName)
The name of the stage.
- Parameters:
stageName- The name of the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageVariables
CreateStageResponse.Builder stageVariables(Map<String,String> stageVariables)
A map that defines the stage variables for a stage resource. 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 resource. 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.
-
tags
CreateStageResponse.Builder tags(Map<String,String> tags)
The collection of tags. Each tag element is associated with a given resource.
- Parameters:
tags- The collection of tags. Each tag element is associated with a given resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-