/* * 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 CreateMediaCapturePipelineRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* Source type from which the media artifacts are captured. A Chime SDK Meeting is the only supported source. *
*/ private String sourceType; /** ** ARN of the source from which the media artifacts are captured. *
*/ private String sourceArn; /** ** Destination type to which the media artifacts are saved. You must use an S3 bucket. *
*/ private String sinkType; /** ** The ARN of the sink type. *
*/ private String sinkArn; /** ** The unique identifier for the client request. The token makes the API request idempotent. Use a unique token for * each media pipeline request. *
*/ private String clientRequestToken; /** *
* The configuration for a specified media pipeline. SourceType
must be ChimeSdkMeeting
.
*
* The tag key-value pairs. *
*/ private java.util.List* Source type from which the media artifacts are captured. A Chime SDK Meeting is the only supported source. *
* * @param sourceType * Source type from which the media artifacts are captured. A Chime SDK Meeting is the only supported source. * @see MediaPipelineSourceType */ public void setSourceType(String sourceType) { this.sourceType = sourceType; } /** ** Source type from which the media artifacts are captured. A Chime SDK Meeting is the only supported source. *
* * @return Source type from which the media artifacts are captured. A Chime SDK Meeting is the only supported * source. * @see MediaPipelineSourceType */ public String getSourceType() { return this.sourceType; } /** ** Source type from which the media artifacts are captured. A Chime SDK Meeting is the only supported source. *
* * @param sourceType * Source type from which the media artifacts are captured. A Chime SDK Meeting is the only supported source. * @return Returns a reference to this object so that method calls can be chained together. * @see MediaPipelineSourceType */ public CreateMediaCapturePipelineRequest withSourceType(String sourceType) { setSourceType(sourceType); return this; } /** ** Source type from which the media artifacts are captured. A Chime SDK Meeting is the only supported source. *
* * @param sourceType * Source type from which the media artifacts are captured. A Chime SDK Meeting is the only supported source. * @return Returns a reference to this object so that method calls can be chained together. * @see MediaPipelineSourceType */ public CreateMediaCapturePipelineRequest withSourceType(MediaPipelineSourceType sourceType) { this.sourceType = sourceType.toString(); return this; } /** ** ARN of the source from which the media artifacts are captured. *
* * @param sourceArn * ARN of the source from which the media artifacts are captured. */ public void setSourceArn(String sourceArn) { this.sourceArn = sourceArn; } /** ** ARN of the source from which the media artifacts are captured. *
* * @return ARN of the source from which the media artifacts are captured. */ public String getSourceArn() { return this.sourceArn; } /** ** ARN of the source from which the media artifacts are captured. *
* * @param sourceArn * ARN of the source from which the media artifacts are captured. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaCapturePipelineRequest withSourceArn(String sourceArn) { setSourceArn(sourceArn); return this; } /** ** Destination type to which the media artifacts are saved. You must use an S3 bucket. *
* * @param sinkType * Destination type to which the media artifacts are saved. You must use an S3 bucket. * @see MediaPipelineSinkType */ public void setSinkType(String sinkType) { this.sinkType = sinkType; } /** ** Destination type to which the media artifacts are saved. You must use an S3 bucket. *
* * @return Destination type to which the media artifacts are saved. You must use an S3 bucket. * @see MediaPipelineSinkType */ public String getSinkType() { return this.sinkType; } /** ** Destination type to which the media artifacts are saved. You must use an S3 bucket. *
* * @param sinkType * Destination type to which the media artifacts are saved. You must use an S3 bucket. * @return Returns a reference to this object so that method calls can be chained together. * @see MediaPipelineSinkType */ public CreateMediaCapturePipelineRequest withSinkType(String sinkType) { setSinkType(sinkType); return this; } /** ** Destination type to which the media artifacts are saved. You must use an S3 bucket. *
* * @param sinkType * Destination type to which the media artifacts are saved. You must use an S3 bucket. * @return Returns a reference to this object so that method calls can be chained together. * @see MediaPipelineSinkType */ public CreateMediaCapturePipelineRequest withSinkType(MediaPipelineSinkType sinkType) { this.sinkType = sinkType.toString(); return this; } /** ** The ARN of the sink type. *
* * @param sinkArn * The ARN of the sink type. */ public void setSinkArn(String sinkArn) { this.sinkArn = sinkArn; } /** ** The ARN of the sink type. *
* * @return The ARN of the sink type. */ public String getSinkArn() { return this.sinkArn; } /** ** The ARN of the sink type. *
* * @param sinkArn * The ARN of the sink type. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaCapturePipelineRequest withSinkArn(String sinkArn) { setSinkArn(sinkArn); return this; } /** ** The unique identifier for the client request. The token makes the API request idempotent. Use a unique token for * each media 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 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 pipeline request. *
* * @return The unique identifier for the client request. The token makes the API request idempotent. Use a unique * token for each media 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 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 pipeline request. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaCapturePipelineRequest withClientRequestToken(String clientRequestToken) { setClientRequestToken(clientRequestToken); return this; } /** *
* The configuration for a specified media pipeline. SourceType
must be ChimeSdkMeeting
.
*
SourceType
must be
* ChimeSdkMeeting
.
*/
public void setChimeSdkMeetingConfiguration(ChimeSdkMeetingConfiguration chimeSdkMeetingConfiguration) {
this.chimeSdkMeetingConfiguration = chimeSdkMeetingConfiguration;
}
/**
*
* The configuration for a specified media pipeline. SourceType
must be ChimeSdkMeeting
.
*
SourceType
must be
* ChimeSdkMeeting
.
*/
public ChimeSdkMeetingConfiguration getChimeSdkMeetingConfiguration() {
return this.chimeSdkMeetingConfiguration;
}
/**
*
* The configuration for a specified media pipeline. SourceType
must be ChimeSdkMeeting
.
*
SourceType
must be
* ChimeSdkMeeting
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateMediaCapturePipelineRequest withChimeSdkMeetingConfiguration(ChimeSdkMeetingConfiguration chimeSdkMeetingConfiguration) {
setChimeSdkMeetingConfiguration(chimeSdkMeetingConfiguration);
return this;
}
/**
* * The tag key-value pairs. *
* * @return The tag key-value pairs. */ public java.util.List* The tag key-value pairs. *
* * @param tags * The tag key-value pairs. */ public void setTags(java.util.Collection* The tag key-value pairs. *
** 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 tag key-value pairs. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaCapturePipelineRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* The tag key-value pairs. *
* * @param tags * The tag key-value pairs. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateMediaCapturePipelineRequest withTags(java.util.Collection