Interface DiscoverInstancesRevisionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DiscoverInstancesRevisionRequest.Builder,,DiscoverInstancesRevisionRequest> SdkBuilder<DiscoverInstancesRevisionRequest.Builder,,DiscoverInstancesRevisionRequest> SdkPojo,SdkRequest.Builder,ServiceDiscoveryRequest.Builder
- Enclosing class:
DiscoverInstancesRevisionRequest
@Mutable
@NotThreadSafe
public static interface DiscoverInstancesRevisionRequest.Builder
extends ServiceDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<DiscoverInstancesRevisionRequest.Builder,DiscoverInstancesRevisionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionnamespaceName(String namespaceName) TheHttpNamename of the namespace.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.ownerAccount(String ownerAccount) The ID of the Amazon Web Services account that owns the namespace associated with the instance, as specified in the namespaceResourceOwnerfield.serviceName(String serviceName) The name of the service that you specified when you registered the instance.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
-
namespaceName
The
HttpNamename of the namespace. TheHttpNameis found in theHttpPropertiesmember of thePropertiesmember of the namespace.- Parameters:
namespaceName- TheHttpNamename of the namespace. TheHttpNameis found in theHttpPropertiesmember of thePropertiesmember of the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceName
The name of the service that you specified when you registered the instance.
- Parameters:
serviceName- The name of the service that you specified when you registered the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerAccount
The ID of the Amazon Web Services account that owns the namespace associated with the instance, as specified in the namespace
ResourceOwnerfield. For instances associated with namespaces that are shared with your account, you must specify anOwnerAccount. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.- Parameters:
ownerAccount- The ID of the Amazon Web Services account that owns the namespace associated with the instance, as specified in the namespaceResourceOwnerfield. For instances associated with namespaces that are shared with your account, you must specify anOwnerAccount. 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.
-
overrideConfiguration
DiscoverInstancesRevisionRequest.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
DiscoverInstancesRevisionRequest.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.
-