/* * 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 CreateMediaLiveConnectorPipelineRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The media live connector pipeline's data sources. *
*/ private java.util.List* The media live connector pipeline's data sinks. *
*/ private java.util.List* The token assigned to the client making the request. *
*/ private String clientRequestToken; /** ** The tags associated with the media live connector pipeline. *
*/ private java.util.List* The media live connector pipeline's data sources. *
* * @return The media live connector pipeline's data sources. */ public java.util.List* The media live connector pipeline's data sources. *
* * @param sources * The media live connector pipeline's data sources. */ public void setSources(java.util.Collection* The media live connector pipeline's data sources. *
** 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 * The media live connector pipeline's data sources. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaLiveConnectorPipelineRequest withSources(LiveConnectorSourceConfiguration... sources) { if (this.sources == null) { setSources(new java.util.ArrayList* The media live connector pipeline's data sources. *
* * @param sources * The media live connector pipeline's data sources. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaLiveConnectorPipelineRequest withSources(java.util.Collection* The media live connector pipeline's data sinks. *
* * @return The media live connector pipeline's data sinks. */ public java.util.List* The media live connector pipeline's data sinks. *
* * @param sinks * The media live connector pipeline's data sinks. */ public void setSinks(java.util.Collection* The media live connector pipeline's data sinks. *
** 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 * The media live connector pipeline's data sinks. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaLiveConnectorPipelineRequest withSinks(LiveConnectorSinkConfiguration... sinks) { if (this.sinks == null) { setSinks(new java.util.ArrayList* The media live connector pipeline's data sinks. *
* * @param sinks * The media live connector pipeline's data sinks. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaLiveConnectorPipelineRequest withSinks(java.util.Collection* The token assigned to the client making the request. *
* * @param clientRequestToken * The token assigned to the client making the request. */ public void setClientRequestToken(String clientRequestToken) { this.clientRequestToken = clientRequestToken; } /** ** The token assigned to the client making the request. *
* * @return The token assigned to the client making the request. */ public String getClientRequestToken() { return this.clientRequestToken; } /** ** The token assigned to the client making the request. *
* * @param clientRequestToken * The token assigned to the client making the request. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaLiveConnectorPipelineRequest withClientRequestToken(String clientRequestToken) { setClientRequestToken(clientRequestToken); return this; } /** ** The tags associated with the media live connector pipeline. *
* * @return The tags associated with the media live connector pipeline. */ public java.util.List* The tags associated with the media live connector pipeline. *
* * @param tags * The tags associated with the media live connector pipeline. */ public void setTags(java.util.Collection* The tags associated with the media live connector 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 live connector pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaLiveConnectorPipelineRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* The tags associated with the media live connector pipeline. *
* * @param tags * The tags associated with the media live connector pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaLiveConnectorPipelineRequest withTags(java.util.Collection