Interface DeregisterInstanceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeregisterInstanceRequest.Builder,,DeregisterInstanceRequest> SdkBuilder<DeregisterInstanceRequest.Builder,,DeregisterInstanceRequest> SdkPojo,SdkRequest.Builder,ServiceDiscoveryRequest.Builder
- Enclosing class:
DeregisterInstanceRequest
@Mutable
@NotThreadSafe
public static interface DeregisterInstanceRequest.Builder
extends ServiceDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<DeregisterInstanceRequest.Builder,DeregisterInstanceRequest>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceId(String instanceId) The value that you specified forIdin the RegisterInstance request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID or Amazon Resource Name (ARN) of the service that the instance is associated with.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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.services.servicediscovery.model.ServiceDiscoveryRequest.Builder
build
-
Method Details
-
serviceId
The ID or Amazon Resource Name (ARN) of the service that the instance is associated with. If the namespace associated with the service is shared with your 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:
serviceId- The ID or Amazon Resource Name (ARN) of the service that the instance is associated with. If the namespace associated with the service is shared with your 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.
-
instanceId
The value that you specified for
Idin the RegisterInstance request.- Parameters:
instanceId- The value that you specified forIdin the RegisterInstance request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeregisterInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeregisterInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-