public static interface UpdateServiceRequest.Builder extends ServiceDiscoveryRequest.Builder, CopyableBuilder<UpdateServiceRequest.Builder,UpdateServiceRequest>
Modifier and Type | Method and Description |
---|---|
UpdateServiceRequest.Builder |
id(String id)
The ID of the service that you want to update.
|
UpdateServiceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateServiceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default UpdateServiceRequest.Builder |
service(Consumer<ServiceChange.Builder> service)
A complex type that contains the new settings for the service.
|
UpdateServiceRequest.Builder |
service(ServiceChange service)
A complex type that contains the new settings for the service.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateServiceRequest.Builder id(String id)
The ID of the service that you want to update.
id
- The ID of the service that you want to update.UpdateServiceRequest.Builder service(ServiceChange service)
A complex type that contains the new settings for the service.
service
- A complex type that contains the new settings for the service.default UpdateServiceRequest.Builder service(Consumer<ServiceChange.Builder> service)
A complex type that contains the new settings for the service.
This is a convenience that creates an instance of theServiceChange.Builder
avoiding the need to
create one manually via ServiceChange.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to service(ServiceChange)
.service
- a consumer that will call methods on ServiceChange.Builder
service(ServiceChange)
UpdateServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateServiceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.