Interface CreateServiceResponse.Builder
- All Superinterfaces:
AppRunnerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateServiceResponse.Builder,,CreateServiceResponse> SdkBuilder<CreateServiceResponse.Builder,,CreateServiceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateServiceResponse
public static interface CreateServiceResponse.Builder
extends AppRunnerResponse.Builder, SdkPojo, CopyableBuilder<CreateServiceResponse.Builder,CreateServiceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionoperationId(String operationId) The unique ID of the asynchronous operation that this request started.default CreateServiceResponse.Builderservice(Consumer<Service.Builder> service) A description of the App Runner service that's created by this request.A description of the App Runner service that's created by this request.Methods inherited from interface software.amazon.awssdk.services.apprunner.model.AppRunnerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
service
A description of the App Runner service that's created by this request.
- Parameters:
service- A description of the App Runner service that's created by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
A description of the App Runner service that's created by this request.
This is a convenience method that creates an instance of theService.Builderavoiding the need to create one manually viaService.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toservice(Service).- Parameters:
service- a consumer that will call methods onService.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operationId
The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.
- Parameters:
operationId- The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-