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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
UpdateServiceRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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.
|
buildrequestOverrideConfigcopyapply, buildUpdateServiceRequest.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.Builderservice(ServiceChange)UpdateServiceRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.UpdateServiceRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.