/* * 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.chimesdkmediapipelines.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 CreateMediaConcatenationPipelineRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* An object that specifies the sources for the media concatenation pipeline. *
*/ private java.util.List* An object that specifies the data sinks for the media concatenation pipeline. *
*/ private java.util.List* The unique identifier for the client request. The token makes the API request idempotent. Use a unique token for * each media concatenation pipeline request. *
*/ private String clientRequestToken; /** ** The tags associated with the media concatenation pipeline. *
*/ private java.util.List* An object that specifies the sources for the media concatenation pipeline. *
* * @return An object that specifies the sources for the media concatenation pipeline. */ public java.util.List* An object that specifies the sources for the media concatenation pipeline. *
* * @param sources * An object that specifies the sources for the media concatenation pipeline. */ public void setSources(java.util.Collection* An object that specifies the sources for the media concatenation pipeline. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSources(java.util.Collection)} or {@link #withSources(java.util.Collection)} if you want to override * the existing values. *
* * @param sources * An object that specifies the sources for the media concatenation pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaConcatenationPipelineRequest withSources(ConcatenationSource... sources) { if (this.sources == null) { setSources(new java.util.ArrayList* An object that specifies the sources for the media concatenation pipeline. *
* * @param sources * An object that specifies the sources for the media concatenation pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaConcatenationPipelineRequest withSources(java.util.Collection* An object that specifies the data sinks for the media concatenation pipeline. *
* * @return An object that specifies the data sinks for the media concatenation pipeline. */ public java.util.List* An object that specifies the data sinks for the media concatenation pipeline. *
* * @param sinks * An object that specifies the data sinks for the media concatenation pipeline. */ public void setSinks(java.util.Collection* An object that specifies the data sinks for the media concatenation pipeline. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSinks(java.util.Collection)} or {@link #withSinks(java.util.Collection)} if you want to override the * existing values. *
* * @param sinks * An object that specifies the data sinks for the media concatenation pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaConcatenationPipelineRequest withSinks(ConcatenationSink... sinks) { if (this.sinks == null) { setSinks(new java.util.ArrayList* An object that specifies the data sinks for the media concatenation pipeline. *
* * @param sinks * An object that specifies the data sinks for the media concatenation pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaConcatenationPipelineRequest withSinks(java.util.Collection* The unique identifier for the client request. The token makes the API request idempotent. Use a unique token for * each media concatenation pipeline request. *
* * @param clientRequestToken * The unique identifier for the client request. The token makes the API request idempotent. Use a unique * token for each media concatenation pipeline request. */ public void setClientRequestToken(String clientRequestToken) { this.clientRequestToken = clientRequestToken; } /** ** The unique identifier for the client request. The token makes the API request idempotent. Use a unique token for * each media concatenation pipeline request. *
* * @return The unique identifier for the client request. The token makes the API request idempotent. Use a unique * token for each media concatenation pipeline request. */ public String getClientRequestToken() { return this.clientRequestToken; } /** ** The unique identifier for the client request. The token makes the API request idempotent. Use a unique token for * each media concatenation pipeline request. *
* * @param clientRequestToken * The unique identifier for the client request. The token makes the API request idempotent. Use a unique * token for each media concatenation pipeline request. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaConcatenationPipelineRequest withClientRequestToken(String clientRequestToken) { setClientRequestToken(clientRequestToken); return this; } /** ** The tags associated with the media concatenation pipeline. *
* * @return The tags associated with the media concatenation pipeline. */ public java.util.List* The tags associated with the media concatenation pipeline. *
* * @param tags * The tags associated with the media concatenation pipeline. */ public void setTags(java.util.Collection* The tags associated with the media concatenation pipeline. *
** 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 * The tags associated with the media concatenation pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaConcatenationPipelineRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* The tags associated with the media concatenation pipeline. *
* * @param tags * The tags associated with the media concatenation pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaConcatenationPipelineRequest withTags(java.util.Collection