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 Details

    • 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

      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 the TagListEntry.Builder avoiding the need to create one manually via TagListEntry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<TagListEntry>).

      Parameters:
      tags - a consumer that will call methods on TagListEntry.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.