All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.chime.model.CreateMediaCapturePipelineRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Chime module holds the client classes that are used for communicating with Amazon Chime Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2019-2024 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.chime.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 will be 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 different token * for different media pipeline requests. *

*/ private String clientRequestToken; /** *

* The configuration for a specified media capture pipeline. SourceType must be * ChimeSdkMeeting. *

*/ private ChimeSdkMeetingConfiguration chimeSdkMeetingConfiguration; /** *

* Source type from which the media artifacts will be captured. A Chime SDK Meeting is the only supported source. *

* * @param sourceType * Source type from which the media artifacts will be 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 will be captured. A Chime SDK Meeting is the only supported source. *

* * @return Source type from which the media artifacts will be 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 will be captured. A Chime SDK Meeting is the only supported source. *

* * @param sourceType * Source type from which the media artifacts will be 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 will be captured. A Chime SDK Meeting is the only supported source. *

* * @param sourceType * Source type from which the media artifacts will be 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 different token * for different media pipeline requests. *

* * @param clientRequestToken * The unique identifier for the client request. The token makes the API request idempotent. Use a different * token for different media pipeline requests. */ public void setClientRequestToken(String clientRequestToken) { this.clientRequestToken = clientRequestToken; } /** *

* The unique identifier for the client request. The token makes the API request idempotent. Use a different token * for different media pipeline requests. *

* * @return The unique identifier for the client request. The token makes the API request idempotent. Use a different * token for different media pipeline requests. */ public String getClientRequestToken() { return this.clientRequestToken; } /** *

* The unique identifier for the client request. The token makes the API request idempotent. Use a different token * for different media pipeline requests. *

* * @param clientRequestToken * The unique identifier for the client request. The token makes the API request idempotent. Use a different * token for different media pipeline requests. * @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 capture pipeline. SourceType must be * ChimeSdkMeeting. *

* * @param chimeSdkMeetingConfiguration * The configuration for a specified media capture pipeline. SourceType must be * ChimeSdkMeeting. */ public void setChimeSdkMeetingConfiguration(ChimeSdkMeetingConfiguration chimeSdkMeetingConfiguration) { this.chimeSdkMeetingConfiguration = chimeSdkMeetingConfiguration; } /** *

* The configuration for a specified media capture pipeline. SourceType must be * ChimeSdkMeeting. *

* * @return The configuration for a specified media capture pipeline. SourceType must be * ChimeSdkMeeting. */ public ChimeSdkMeetingConfiguration getChimeSdkMeetingConfiguration() { return this.chimeSdkMeetingConfiguration; } /** *

* The configuration for a specified media capture pipeline. SourceType must be * ChimeSdkMeeting. *

* * @param chimeSdkMeetingConfiguration * The configuration for a specified media capture pipeline. 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; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getSourceType() != null) sb.append("SourceType: ").append(getSourceType()).append(","); if (getSourceArn() != null) sb.append("SourceArn: ").append("***Sensitive Data Redacted***").append(","); if (getSinkType() != null) sb.append("SinkType: ").append(getSinkType()).append(","); if (getSinkArn() != null) sb.append("SinkArn: ").append("***Sensitive Data Redacted***").append(","); if (getClientRequestToken() != null) sb.append("ClientRequestToken: ").append("***Sensitive Data Redacted***").append(","); if (getChimeSdkMeetingConfiguration() != null) sb.append("ChimeSdkMeetingConfiguration: ").append(getChimeSdkMeetingConfiguration()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateMediaCapturePipelineRequest == false) return false; CreateMediaCapturePipelineRequest other = (CreateMediaCapturePipelineRequest) obj; if (other.getSourceType() == null ^ this.getSourceType() == null) return false; if (other.getSourceType() != null && other.getSourceType().equals(this.getSourceType()) == false) return false; if (other.getSourceArn() == null ^ this.getSourceArn() == null) return false; if (other.getSourceArn() != null && other.getSourceArn().equals(this.getSourceArn()) == false) return false; if (other.getSinkType() == null ^ this.getSinkType() == null) return false; if (other.getSinkType() != null && other.getSinkType().equals(this.getSinkType()) == false) return false; if (other.getSinkArn() == null ^ this.getSinkArn() == null) return false; if (other.getSinkArn() != null && other.getSinkArn().equals(this.getSinkArn()) == false) return false; if (other.getClientRequestToken() == null ^ this.getClientRequestToken() == null) return false; if (other.getClientRequestToken() != null && other.getClientRequestToken().equals(this.getClientRequestToken()) == false) return false; if (other.getChimeSdkMeetingConfiguration() == null ^ this.getChimeSdkMeetingConfiguration() == null) return false; if (other.getChimeSdkMeetingConfiguration() != null && other.getChimeSdkMeetingConfiguration().equals(this.getChimeSdkMeetingConfiguration()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getSourceType() == null) ? 0 : getSourceType().hashCode()); hashCode = prime * hashCode + ((getSourceArn() == null) ? 0 : getSourceArn().hashCode()); hashCode = prime * hashCode + ((getSinkType() == null) ? 0 : getSinkType().hashCode()); hashCode = prime * hashCode + ((getSinkArn() == null) ? 0 : getSinkArn().hashCode()); hashCode = prime * hashCode + ((getClientRequestToken() == null) ? 0 : getClientRequestToken().hashCode()); hashCode = prime * hashCode + ((getChimeSdkMeetingConfiguration() == null) ? 0 : getChimeSdkMeetingConfiguration().hashCode()); return hashCode; } @Override public CreateMediaCapturePipelineRequest clone() { return (CreateMediaCapturePipelineRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy