/* * 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.devicefarm.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* A JSON object that specifies the paths where the artifacts generated by the customer's tests, on the device or in the * test environment, are pulled from. *
*
* Specify deviceHostPaths
and optionally specify either iosPaths
or androidPaths
* .
*
* For web app tests, you can specify both iosPaths
and androidPaths
.
*
* Comma-separated list of paths on the iOS device where the artifacts generated by the customer's tests are pulled * from. *
*/ private java.util.List* Comma-separated list of paths on the Android device where the artifacts generated by the customer's tests are * pulled from. *
*/ private java.util.List* Comma-separated list of paths in the test execution environment where the artifacts generated by the customer's * tests are pulled from. *
*/ private java.util.List* Comma-separated list of paths on the iOS device where the artifacts generated by the customer's tests are pulled * from. *
* * @return Comma-separated list of paths on the iOS device where the artifacts generated by the customer's tests are * pulled from. */ public java.util.List* Comma-separated list of paths on the iOS device where the artifacts generated by the customer's tests are pulled * from. *
* * @param iosPaths * Comma-separated list of paths on the iOS device where the artifacts generated by the customer's tests are * pulled from. */ public void setIosPaths(java.util.Collection* Comma-separated list of paths on the iOS device where the artifacts generated by the customer's tests are pulled * from. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setIosPaths(java.util.Collection)} or {@link #withIosPaths(java.util.Collection)} if you want to override * the existing values. *
* * @param iosPaths * Comma-separated list of paths on the iOS device where the artifacts generated by the customer's tests are * pulled from. * @return Returns a reference to this object so that method calls can be chained together. */ public CustomerArtifactPaths withIosPaths(String... iosPaths) { if (this.iosPaths == null) { setIosPaths(new java.util.ArrayList* Comma-separated list of paths on the iOS device where the artifacts generated by the customer's tests are pulled * from. *
* * @param iosPaths * Comma-separated list of paths on the iOS device where the artifacts generated by the customer's tests are * pulled from. * @return Returns a reference to this object so that method calls can be chained together. */ public CustomerArtifactPaths withIosPaths(java.util.Collection* Comma-separated list of paths on the Android device where the artifacts generated by the customer's tests are * pulled from. *
* * @return Comma-separated list of paths on the Android device where the artifacts generated by the customer's tests * are pulled from. */ public java.util.List* Comma-separated list of paths on the Android device where the artifacts generated by the customer's tests are * pulled from. *
* * @param androidPaths * Comma-separated list of paths on the Android device where the artifacts generated by the customer's tests * are pulled from. */ public void setAndroidPaths(java.util.Collection* Comma-separated list of paths on the Android device where the artifacts generated by the customer's tests are * pulled from. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setAndroidPaths(java.util.Collection)} or {@link #withAndroidPaths(java.util.Collection)} if you want to * override the existing values. *
* * @param androidPaths * Comma-separated list of paths on the Android device where the artifacts generated by the customer's tests * are pulled from. * @return Returns a reference to this object so that method calls can be chained together. */ public CustomerArtifactPaths withAndroidPaths(String... androidPaths) { if (this.androidPaths == null) { setAndroidPaths(new java.util.ArrayList* Comma-separated list of paths on the Android device where the artifacts generated by the customer's tests are * pulled from. *
* * @param androidPaths * Comma-separated list of paths on the Android device where the artifacts generated by the customer's tests * are pulled from. * @return Returns a reference to this object so that method calls can be chained together. */ public CustomerArtifactPaths withAndroidPaths(java.util.Collection* Comma-separated list of paths in the test execution environment where the artifacts generated by the customer's * tests are pulled from. *
* * @return Comma-separated list of paths in the test execution environment where the artifacts generated by the * customer's tests are pulled from. */ public java.util.List* Comma-separated list of paths in the test execution environment where the artifacts generated by the customer's * tests are pulled from. *
* * @param deviceHostPaths * Comma-separated list of paths in the test execution environment where the artifacts generated by the * customer's tests are pulled from. */ public void setDeviceHostPaths(java.util.Collection* Comma-separated list of paths in the test execution environment where the artifacts generated by the customer's * tests are pulled from. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDeviceHostPaths(java.util.Collection)} or {@link #withDeviceHostPaths(java.util.Collection)} if you * want to override the existing values. *
* * @param deviceHostPaths * Comma-separated list of paths in the test execution environment where the artifacts generated by the * customer's tests are pulled from. * @return Returns a reference to this object so that method calls can be chained together. */ public CustomerArtifactPaths withDeviceHostPaths(String... deviceHostPaths) { if (this.deviceHostPaths == null) { setDeviceHostPaths(new java.util.ArrayList* Comma-separated list of paths in the test execution environment where the artifacts generated by the customer's * tests are pulled from. *
* * @param deviceHostPaths * Comma-separated list of paths in the test execution environment where the artifacts generated by the * customer's tests are pulled from. * @return Returns a reference to this object so that method calls can be chained together. */ public CustomerArtifactPaths withDeviceHostPaths(java.util.Collection