Interface UpdateServiceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateServiceRequest.Builder,UpdateServiceRequest>,SdkBuilder<UpdateServiceRequest.Builder,UpdateServiceRequest>,SdkPojo,SdkRequest.Builder,ServiceDiscoveryRequest.Builder
- Enclosing class:
- UpdateServiceRequest
public static interface UpdateServiceRequest.Builder extends ServiceDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<UpdateServiceRequest.Builder,UpdateServiceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateServiceRequest.Builderid(String id)The ID of the service that you want to update.UpdateServiceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateServiceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateServiceRequest.Builderservice(Consumer<ServiceChange.Builder> service)A complex type that contains the new settings for the service.UpdateServiceRequest.Builderservice(ServiceChange service)A complex type that contains the new settings for the service.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.servicediscovery.model.ServiceDiscoveryRequest.Builder
build
-
-
-
-
Method Detail
-
id
UpdateServiceRequest.Builder id(String id)
The ID of the service that you want to update.
- Parameters:
id- The ID of the service that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
UpdateServiceRequest.Builder service(ServiceChange service)
A complex type that contains the new settings for the service. You can specify a maximum of 30 attributes (key-value pairs).
- Parameters:
service- A complex type that contains the new settings for the service. You can specify a maximum of 30 attributes (key-value pairs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
default UpdateServiceRequest.Builder service(Consumer<ServiceChange.Builder> service)
A complex type that contains the new settings for the service. You can specify a maximum of 30 attributes (key-value pairs).
This is a convenience method that creates an instance of theServiceChange.Builderavoiding the need to create one manually viaServiceChange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toservice(ServiceChange).- Parameters:
service- a consumer that will call methods onServiceChange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
service(ServiceChange)
-
overrideConfiguration
UpdateServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateServiceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-