Interface CreateExpressGatewayServiceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateExpressGatewayServiceResponse.Builder,,CreateExpressGatewayServiceResponse> EcsResponse.Builder,SdkBuilder<CreateExpressGatewayServiceResponse.Builder,,CreateExpressGatewayServiceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateExpressGatewayServiceResponse
@Mutable
@NotThreadSafe
public static interface CreateExpressGatewayServiceResponse.Builder
extends EcsResponse.Builder, SdkPojo, CopyableBuilder<CreateExpressGatewayServiceResponse.Builder,CreateExpressGatewayServiceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionservice(Consumer<ECSExpressGatewayService.Builder> service) The full description of your Express service following the create operation.service(ECSExpressGatewayService service) The full description of your Express service following the create operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
service
The full description of your Express service following the create operation.
- Parameters:
service- The full description of your Express service following the create operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
default CreateExpressGatewayServiceResponse.Builder service(Consumer<ECSExpressGatewayService.Builder> service) The full description of your Express service following the create operation.
This is a convenience method that creates an instance of theECSExpressGatewayService.Builderavoiding the need to create one manually viaECSExpressGatewayService.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toservice(ECSExpressGatewayService).- Parameters:
service- a consumer that will call methods onECSExpressGatewayService.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-