/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.datasync.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class StartDiscoveryJobRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the discovery job * on. *
*/ private String storageSystemArn; /** ** 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. *
** 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. *
*/ private String clientToken; /** ** Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. *
*/ private java.util.List* Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the discovery job * on. *
* * @param storageSystemArn * Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the * discovery job on. */ public void setStorageSystemArn(String storageSystemArn) { this.storageSystemArn = storageSystemArn; } /** ** Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the discovery job * on. *
* * @return Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the * discovery job on. */ public String getStorageSystemArn() { return this.storageSystemArn; } /** ** Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the discovery job * on. *
* * @param storageSystemArn * Specifies the Amazon Resource Name (ARN) of the on-premises storage system that you want to run the * discovery job on. * @return Returns a reference to this object so that method calls can be chained together. */ public StartDiscoveryJobRequest withStorageSystemArn(String storageSystemArn) { setStorageSystemArn(storageSystemArn); return this; } /** ** 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. *
** 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. *
*/ public void setCollectionDurationMinutes(Integer collectionDurationMinutes) { this.collectionDurationMinutes = 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. *
** 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. *
*/ public Integer getCollectionDurationMinutes() { return this.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. *
** 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. *
* @return Returns a reference to this object so that method calls can be chained together. */ public StartDiscoveryJobRequest withCollectionDurationMinutes(Integer collectionDurationMinutes) { setCollectionDurationMinutes(collectionDurationMinutes); return this; } /** ** 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. *
* * @param 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. */ public void setClientToken(String clientToken) { this.clientToken = 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. *
* * @return 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. */ public String getClientToken() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public StartDiscoveryJobRequest withClientToken(String clientToken) { setClientToken(clientToken); return this; } /** ** Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. *
* * @return Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. */ public java.util.List* Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. *
* * @param tags * Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. */ public void setTags(java.util.Collection* Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. * @return Returns a reference to this object so that method calls can be chained together. */ public StartDiscoveryJobRequest withTags(TagListEntry... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. *
* * @param tags * Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. * @return Returns a reference to this object so that method calls can be chained together. */ public StartDiscoveryJobRequest withTags(java.util.Collection