/* * 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.lookoutmetrics.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Contains information about the source configuration in Amazon S3. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class SampleDataS3SourceConfig implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon Resource Name (ARN) of the role. *
*/ private String roleArn; /** ** An array of strings containing the list of templated paths. *
*/ private java.util.List* An array of strings containing the historical set of data paths. *
*/ private java.util.List* The Amazon Resource Name (ARN) of the role. *
* * @param roleArn * The Amazon Resource Name (ARN) of the role. */ public void setRoleArn(String roleArn) { this.roleArn = roleArn; } /** ** The Amazon Resource Name (ARN) of the role. *
* * @return The Amazon Resource Name (ARN) of the role. */ public String getRoleArn() { return this.roleArn; } /** ** The Amazon Resource Name (ARN) of the role. *
* * @param roleArn * The Amazon Resource Name (ARN) of the role. * @return Returns a reference to this object so that method calls can be chained together. */ public SampleDataS3SourceConfig withRoleArn(String roleArn) { setRoleArn(roleArn); return this; } /** ** An array of strings containing the list of templated paths. *
* * @return An array of strings containing the list of templated paths. */ public java.util.List* An array of strings containing the list of templated paths. *
* * @param templatedPathList * An array of strings containing the list of templated paths. */ public void setTemplatedPathList(java.util.Collection* An array of strings containing the list of templated paths. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTemplatedPathList(java.util.Collection)} or {@link #withTemplatedPathList(java.util.Collection)} if * you want to override the existing values. *
* * @param templatedPathList * An array of strings containing the list of templated paths. * @return Returns a reference to this object so that method calls can be chained together. */ public SampleDataS3SourceConfig withTemplatedPathList(String... templatedPathList) { if (this.templatedPathList == null) { setTemplatedPathList(new java.util.ArrayList* An array of strings containing the list of templated paths. *
* * @param templatedPathList * An array of strings containing the list of templated paths. * @return Returns a reference to this object so that method calls can be chained together. */ public SampleDataS3SourceConfig withTemplatedPathList(java.util.Collection* An array of strings containing the historical set of data paths. *
* * @return An array of strings containing the historical set of data paths. */ public java.util.List* An array of strings containing the historical set of data paths. *
* * @param historicalDataPathList * An array of strings containing the historical set of data paths. */ public void setHistoricalDataPathList(java.util.Collection* An array of strings containing the historical set of data paths. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setHistoricalDataPathList(java.util.Collection)} or * {@link #withHistoricalDataPathList(java.util.Collection)} if you want to override the existing values. *
* * @param historicalDataPathList * An array of strings containing the historical set of data paths. * @return Returns a reference to this object so that method calls can be chained together. */ public SampleDataS3SourceConfig withHistoricalDataPathList(String... historicalDataPathList) { if (this.historicalDataPathList == null) { setHistoricalDataPathList(new java.util.ArrayList* An array of strings containing the historical set of data paths. *
* * @param historicalDataPathList * An array of strings containing the historical set of data paths. * @return Returns a reference to this object so that method calls can be chained together. */ public SampleDataS3SourceConfig withHistoricalDataPathList(java.util.Collection