Interface StartDiscoveryJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartDiscoveryJobRequest.Builder,StartDiscoveryJobRequest>,DataSyncRequest.Builder,SdkBuilder<StartDiscoveryJobRequest.Builder,StartDiscoveryJobRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartDiscoveryJobRequest
public static interface StartDiscoveryJobRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<StartDiscoveryJobRequest.Builder,StartDiscoveryJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartDiscoveryJobRequest.BuilderclientToken(String clientToken)Specifies a client token to make sure requests with this API operation are idempotent.StartDiscoveryJobRequest.BuildercollectionDurationMinutes(Integer collectionDurationMinutes)Specifies in minutes how long you want the discovery job to run.StartDiscoveryJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartDiscoveryJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartDiscoveryJobRequest.BuilderstorageSystemArn(String storageSystemArn)Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the discovery job on.StartDiscoveryJobRequest.Buildertags(Collection<TagListEntry> tags)Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.StartDiscoveryJobRequest.Buildertags(Consumer<TagListEntry.Builder>... tags)Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.StartDiscoveryJobRequest.Buildertags(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
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
storageSystemArn
StartDiscoveryJobRequest.Builder storageSystemArn(String 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
StartDiscoveryJobRequest.Builder collectionDurationMinutes(Integer 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
StartDiscoveryJobRequest.Builder clientToken(String 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
StartDiscoveryJobRequest.Builder tags(Collection<TagListEntry> 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
StartDiscoveryJobRequest.Builder tags(TagListEntry... 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
StartDiscoveryJobRequest.Builder tags(Consumer<TagListEntry.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
StartDiscoveryJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartDiscoveryJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-