Interface UpdateServiceRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<UpdateServiceRequest.Builder,,- UpdateServiceRequest> - SdkBuilder<UpdateServiceRequest.Builder,,- UpdateServiceRequest> - SdkPojo,- SdkRequest.Builder,- ServiceDiscoveryRequest.Builder
- Enclosing class:
- UpdateServiceRequest
@Mutable
@NotThreadSafe
public static interface UpdateServiceRequest.Builder
extends ServiceDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<UpdateServiceRequest.Builder,UpdateServiceRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionThe ID or Amazon Resource Name (ARN) of the service that you want to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateServiceRequest.Builderservice(Consumer<ServiceChange.Builder> service) A complex type that contains the new settings for the service.service(ServiceChange service) A complex type that contains the new settings for the service.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.servicediscovery.model.ServiceDiscoveryRequest.Builderbuild
- 
Method Details- 
idThe ID or Amazon Resource Name (ARN) of the service that you want to update. If the namespace associated with the service is shared with your Amazon Web Services account, specify the service ARN. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide - Parameters:
- id- The ID or Amazon Resource Name (ARN) of the service that you want to update. If the namespace associated with the service is shared with your Amazon Web Services account, specify the service ARN. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
serviceA 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.
 
- 
serviceA 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 on- ServiceChange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationUpdateServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUpdateServiceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-