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

com.amazonaws.services.chime.model.MediaCapturePipeline 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

The 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.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* A media capture pipeline object consisting of an ID, source type, source ARN, a sink type, a sink ARN, and a * configuration object. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class MediaCapturePipeline implements Serializable, Cloneable, StructuredPojo { /** *

* The ID of a media capture pipeline. *

*/ private String mediaPipelineId; /** *

* Source type from which media artifacts are saved. You must use ChimeMeeting. *

*/ private String sourceType; /** *

* ARN of the source from which the media artifacts will be saved. *

*/ private String sourceArn; /** *

* The status of the media capture pipeline. *

*/ private String status; /** *

* Destination type to which the media artifacts are saved. You must use an S3 Bucket. *

*/ private String sinkType; /** *

* ARN of the destination to which the media artifacts are saved. *

*/ private String sinkArn; /** *

* The time at which the capture pipeline was created, in ISO 8601 format. *

*/ private java.util.Date createdTimestamp; /** *

* The time at which the capture pipeline was updated, in ISO 8601 format. *

*/ private java.util.Date updatedTimestamp; /** *

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

*/ private ChimeSdkMeetingConfiguration chimeSdkMeetingConfiguration; /** *

* The ID of a media capture pipeline. *

* * @param mediaPipelineId * The ID of a media capture pipeline. */ public void setMediaPipelineId(String mediaPipelineId) { this.mediaPipelineId = mediaPipelineId; } /** *

* The ID of a media capture pipeline. *

* * @return The ID of a media capture pipeline. */ public String getMediaPipelineId() { return this.mediaPipelineId; } /** *

* The ID of a media capture pipeline. *

* * @param mediaPipelineId * The ID of a media capture pipeline. * @return Returns a reference to this object so that method calls can be chained together. */ public MediaCapturePipeline withMediaPipelineId(String mediaPipelineId) { setMediaPipelineId(mediaPipelineId); return this; } /** *

* Source type from which media artifacts are saved. You must use ChimeMeeting. *

* * @param sourceType * Source type from which media artifacts are saved. You must use ChimeMeeting. * @see MediaPipelineSourceType */ public void setSourceType(String sourceType) { this.sourceType = sourceType; } /** *

* Source type from which media artifacts are saved. You must use ChimeMeeting. *

* * @return Source type from which media artifacts are saved. You must use ChimeMeeting. * @see MediaPipelineSourceType */ public String getSourceType() { return this.sourceType; } /** *

* Source type from which media artifacts are saved. You must use ChimeMeeting. *

* * @param sourceType * Source type from which media artifacts are saved. You must use ChimeMeeting. * @return Returns a reference to this object so that method calls can be chained together. * @see MediaPipelineSourceType */ public MediaCapturePipeline withSourceType(String sourceType) { setSourceType(sourceType); return this; } /** *

* Source type from which media artifacts are saved. You must use ChimeMeeting. *

* * @param sourceType * Source type from which media artifacts are saved. You must use ChimeMeeting. * @return Returns a reference to this object so that method calls can be chained together. * @see MediaPipelineSourceType */ public MediaCapturePipeline withSourceType(MediaPipelineSourceType sourceType) { this.sourceType = sourceType.toString(); return this; } /** *

* ARN of the source from which the media artifacts will be saved. *

* * @param sourceArn * ARN of the source from which the media artifacts will be saved. */ public void setSourceArn(String sourceArn) { this.sourceArn = sourceArn; } /** *

* ARN of the source from which the media artifacts will be saved. *

* * @return ARN of the source from which the media artifacts will be saved. */ public String getSourceArn() { return this.sourceArn; } /** *

* ARN of the source from which the media artifacts will be saved. *

* * @param sourceArn * ARN of the source from which the media artifacts will be saved. * @return Returns a reference to this object so that method calls can be chained together. */ public MediaCapturePipeline withSourceArn(String sourceArn) { setSourceArn(sourceArn); return this; } /** *

* The status of the media capture pipeline. *

* * @param status * The status of the media capture pipeline. * @see MediaPipelineStatus */ public void setStatus(String status) { this.status = status; } /** *

* The status of the media capture pipeline. *

* * @return The status of the media capture pipeline. * @see MediaPipelineStatus */ public String getStatus() { return this.status; } /** *

* The status of the media capture pipeline. *

* * @param status * The status of the media capture pipeline. * @return Returns a reference to this object so that method calls can be chained together. * @see MediaPipelineStatus */ public MediaCapturePipeline withStatus(String status) { setStatus(status); return this; } /** *

* The status of the media capture pipeline. *

* * @param status * The status of the media capture pipeline. * @return Returns a reference to this object so that method calls can be chained together. * @see MediaPipelineStatus */ public MediaCapturePipeline withStatus(MediaPipelineStatus status) { this.status = status.toString(); 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 MediaCapturePipeline 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 MediaCapturePipeline withSinkType(MediaPipelineSinkType sinkType) { this.sinkType = sinkType.toString(); return this; } /** *

* ARN of the destination to which the media artifacts are saved. *

* * @param sinkArn * ARN of the destination to which the media artifacts are saved. */ public void setSinkArn(String sinkArn) { this.sinkArn = sinkArn; } /** *

* ARN of the destination to which the media artifacts are saved. *

* * @return ARN of the destination to which the media artifacts are saved. */ public String getSinkArn() { return this.sinkArn; } /** *

* ARN of the destination to which the media artifacts are saved. *

* * @param sinkArn * ARN of the destination to which the media artifacts are saved. * @return Returns a reference to this object so that method calls can be chained together. */ public MediaCapturePipeline withSinkArn(String sinkArn) { setSinkArn(sinkArn); return this; } /** *

* The time at which the capture pipeline was created, in ISO 8601 format. *

* * @param createdTimestamp * The time at which the capture pipeline was created, in ISO 8601 format. */ public void setCreatedTimestamp(java.util.Date createdTimestamp) { this.createdTimestamp = createdTimestamp; } /** *

* The time at which the capture pipeline was created, in ISO 8601 format. *

* * @return The time at which the capture pipeline was created, in ISO 8601 format. */ public java.util.Date getCreatedTimestamp() { return this.createdTimestamp; } /** *

* The time at which the capture pipeline was created, in ISO 8601 format. *

* * @param createdTimestamp * The time at which the capture pipeline was created, in ISO 8601 format. * @return Returns a reference to this object so that method calls can be chained together. */ public MediaCapturePipeline withCreatedTimestamp(java.util.Date createdTimestamp) { setCreatedTimestamp(createdTimestamp); return this; } /** *

* The time at which the capture pipeline was updated, in ISO 8601 format. *

* * @param updatedTimestamp * The time at which the capture pipeline was updated, in ISO 8601 format. */ public void setUpdatedTimestamp(java.util.Date updatedTimestamp) { this.updatedTimestamp = updatedTimestamp; } /** *

* The time at which the capture pipeline was updated, in ISO 8601 format. *

* * @return The time at which the capture pipeline was updated, in ISO 8601 format. */ public java.util.Date getUpdatedTimestamp() { return this.updatedTimestamp; } /** *

* The time at which the capture pipeline was updated, in ISO 8601 format. *

* * @param updatedTimestamp * The time at which the capture pipeline was updated, in ISO 8601 format. * @return Returns a reference to this object so that method calls can be chained together. */ public MediaCapturePipeline withUpdatedTimestamp(java.util.Date updatedTimestamp) { setUpdatedTimestamp(updatedTimestamp); 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 MediaCapturePipeline 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 (getMediaPipelineId() != null) sb.append("MediaPipelineId: ").append(getMediaPipelineId()).append(","); if (getSourceType() != null) sb.append("SourceType: ").append(getSourceType()).append(","); if (getSourceArn() != null) sb.append("SourceArn: ").append("***Sensitive Data Redacted***").append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getSinkType() != null) sb.append("SinkType: ").append(getSinkType()).append(","); if (getSinkArn() != null) sb.append("SinkArn: ").append("***Sensitive Data Redacted***").append(","); if (getCreatedTimestamp() != null) sb.append("CreatedTimestamp: ").append(getCreatedTimestamp()).append(","); if (getUpdatedTimestamp() != null) sb.append("UpdatedTimestamp: ").append(getUpdatedTimestamp()).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 MediaCapturePipeline == false) return false; MediaCapturePipeline other = (MediaCapturePipeline) obj; if (other.getMediaPipelineId() == null ^ this.getMediaPipelineId() == null) return false; if (other.getMediaPipelineId() != null && other.getMediaPipelineId().equals(this.getMediaPipelineId()) == false) return false; 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.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == 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.getCreatedTimestamp() == null ^ this.getCreatedTimestamp() == null) return false; if (other.getCreatedTimestamp() != null && other.getCreatedTimestamp().equals(this.getCreatedTimestamp()) == false) return false; if (other.getUpdatedTimestamp() == null ^ this.getUpdatedTimestamp() == null) return false; if (other.getUpdatedTimestamp() != null && other.getUpdatedTimestamp().equals(this.getUpdatedTimestamp()) == 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 + ((getMediaPipelineId() == null) ? 0 : getMediaPipelineId().hashCode()); hashCode = prime * hashCode + ((getSourceType() == null) ? 0 : getSourceType().hashCode()); hashCode = prime * hashCode + ((getSourceArn() == null) ? 0 : getSourceArn().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getSinkType() == null) ? 0 : getSinkType().hashCode()); hashCode = prime * hashCode + ((getSinkArn() == null) ? 0 : getSinkArn().hashCode()); hashCode = prime * hashCode + ((getCreatedTimestamp() == null) ? 0 : getCreatedTimestamp().hashCode()); hashCode = prime * hashCode + ((getUpdatedTimestamp() == null) ? 0 : getUpdatedTimestamp().hashCode()); hashCode = prime * hashCode + ((getChimeSdkMeetingConfiguration() == null) ? 0 : getChimeSdkMeetingConfiguration().hashCode()); return hashCode; } @Override public MediaCapturePipeline clone() { try { return (MediaCapturePipeline) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.chime.model.transform.MediaCapturePipelineMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy