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) TheHttpName
name 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 namespaceResourceOwner
field.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
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 Details
-
namespaceName
The
HttpName
name of the namespace. TheHttpName
is found in theHttpProperties
member of theProperties
member of the namespace.- Parameters:
namespaceName
- TheHttpName
name of the namespace. TheHttpName
is found in theHttpProperties
member of theProperties
member 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
ResourceOwner
field. 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 namespaceResourceOwner
field. 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-