Interface StartDiscoveryJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartDiscoveryJobRequest.Builder,,StartDiscoveryJobRequest> DataSyncRequest.Builder,SdkBuilder<StartDiscoveryJobRequest.Builder,,StartDiscoveryJobRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartDiscoveryJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Specifies a client token to make sure requests with this API operation are idempotent.collectionDurationMinutes(Integer collectionDurationMinutes) Specifies in minutes how long you want the discovery job to run.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.storageSystemArn(String storageSystemArn) Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the discovery job on.tags(Collection<TagListEntry> tags) Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.tags(Consumer<TagListEntry.Builder>... tags) Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.tags(TagListEntry... tags) Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.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.services.datasync.model.DataSyncRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
storageSystemArn
Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the discovery job on.
- Parameters:
storageSystemArn- Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the discovery job on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectionDurationMinutes
Specifies in minutes how long you want the discovery job to run.
For more accurate recommendations, we recommend a duration of at least 14 days. Longer durations allow time to collect a sufficient number of data points and provide a realistic representation of storage performance and utilization.
- Parameters:
collectionDurationMinutes- Specifies in minutes how long you want the discovery job to run.For more accurate recommendations, we recommend a duration of at least 14 days. Longer durations allow time to collect a sufficient number of data points and provide a realistic representation of storage performance and utilization.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Specifies a client token to make sure requests with this API operation are idempotent. If you don't specify a client token, DataSync generates one for you automatically.
- Parameters:
clientToken- Specifies a client token to make sure requests with this API operation are idempotent. If you don't specify a client token, DataSync generates one for you automatically.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
- Parameters:
tags- Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
- Parameters:
tags- Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.
This is a convenience method that creates an instance of theTagListEntry.Builderavoiding the need to create one manually viaTagListEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<TagListEntry>).- Parameters:
tags- a consumer that will call methods onTagListEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartDiscoveryJobRequest.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
StartDiscoveryJobRequest.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.
-