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

com.amazonaws.services.chimesdkmeetings.model.Meeting Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.780
Show newest version
/*
 * 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.chimesdkmeetings.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* A meeting created using the Amazon Chime SDK. *

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

* The Amazon Chime SDK meeting ID. *

*/ private String meetingId; /** *

* Reserved. *

*/ private String meetingHostId; /** *

* The external meeting ID. *

*

* Pattern: [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]* *

*

* Values that begin with aws: are reserved. You can't configure a value that uses this prefix. Case * insensitive. *

*/ private String externalMeetingId; /** *

* The Region in which you create the meeting. Available values: af-south-1, * ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, * ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, * eu-south-1, eu-west-1, eu-west-2, eu-west-3, * sa-east-1, us-east-1, us-east-2, us-west-1, * us-west-2. *

*

* Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1. *

*/ private String mediaRegion; /** *

* The media placement for the meeting. *

*/ private MediaPlacement mediaPlacement; /** *

* The features available to a meeting, such as echo reduction. *

*/ private MeetingFeaturesConfiguration meetingFeatures; /** *

* When specified, replicates the media from the primary meeting to this meeting. *

*/ private String primaryMeetingId; /** *

* Array of strings. *

*/ private java.util.List tenantIds; /** *

* The ARN of the meeting. *

*/ private String meetingArn; /** *

* The Amazon Chime SDK meeting ID. *

* * @param meetingId * The Amazon Chime SDK meeting ID. */ public void setMeetingId(String meetingId) { this.meetingId = meetingId; } /** *

* The Amazon Chime SDK meeting ID. *

* * @return The Amazon Chime SDK meeting ID. */ public String getMeetingId() { return this.meetingId; } /** *

* The Amazon Chime SDK meeting ID. *

* * @param meetingId * The Amazon Chime SDK meeting ID. * @return Returns a reference to this object so that method calls can be chained together. */ public Meeting withMeetingId(String meetingId) { setMeetingId(meetingId); return this; } /** *

* Reserved. *

* * @param meetingHostId * Reserved. */ public void setMeetingHostId(String meetingHostId) { this.meetingHostId = meetingHostId; } /** *

* Reserved. *

* * @return Reserved. */ public String getMeetingHostId() { return this.meetingHostId; } /** *

* Reserved. *

* * @param meetingHostId * Reserved. * @return Returns a reference to this object so that method calls can be chained together. */ public Meeting withMeetingHostId(String meetingHostId) { setMeetingHostId(meetingHostId); return this; } /** *

* The external meeting ID. *

*

* Pattern: [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]* *

*

* Values that begin with aws: are reserved. You can't configure a value that uses this prefix. Case * insensitive. *

* * @param externalMeetingId * The external meeting ID.

*

* Pattern: [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]* *

*

* Values that begin with aws: are reserved. You can't configure a value that uses this prefix. * Case insensitive. */ public void setExternalMeetingId(String externalMeetingId) { this.externalMeetingId = externalMeetingId; } /** *

* The external meeting ID. *

*

* Pattern: [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]* *

*

* Values that begin with aws: are reserved. You can't configure a value that uses this prefix. Case * insensitive. *

* * @return The external meeting ID.

*

* Pattern: [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]* *

*

* Values that begin with aws: are reserved. You can't configure a value that uses this prefix. * Case insensitive. */ public String getExternalMeetingId() { return this.externalMeetingId; } /** *

* The external meeting ID. *

*

* Pattern: [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]* *

*

* Values that begin with aws: are reserved. You can't configure a value that uses this prefix. Case * insensitive. *

* * @param externalMeetingId * The external meeting ID.

*

* Pattern: [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]* *

*

* Values that begin with aws: are reserved. You can't configure a value that uses this prefix. * Case insensitive. * @return Returns a reference to this object so that method calls can be chained together. */ public Meeting withExternalMeetingId(String externalMeetingId) { setExternalMeetingId(externalMeetingId); return this; } /** *

* The Region in which you create the meeting. Available values: af-south-1, * ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, * ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, * eu-south-1, eu-west-1, eu-west-2, eu-west-3, * sa-east-1, us-east-1, us-east-2, us-west-1, * us-west-2. *

*

* Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1. *

* * @param mediaRegion * The Region in which you create the meeting. Available values: af-south-1, * ap-northeast-1, ap-northeast-2, ap-south-1, * ap-southeast-1, ap-southeast-2, ca-central-1, * eu-central-1, eu-north-1, eu-south-1, eu-west-1, * eu-west-2, eu-west-3, sa-east-1, us-east-1, * us-east-2, us-west-1, us-west-2.

*

* Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1. */ public void setMediaRegion(String mediaRegion) { this.mediaRegion = mediaRegion; } /** *

* The Region in which you create the meeting. Available values: af-south-1, * ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, * ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, * eu-south-1, eu-west-1, eu-west-2, eu-west-3, * sa-east-1, us-east-1, us-east-2, us-west-1, * us-west-2. *

*

* Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1. *

* * @return The Region in which you create the meeting. Available values: af-south-1, * ap-northeast-1, ap-northeast-2, ap-south-1, * ap-southeast-1, ap-southeast-2, ca-central-1, * eu-central-1, eu-north-1, eu-south-1, eu-west-1, * eu-west-2, eu-west-3, sa-east-1, us-east-1, * us-east-2, us-west-1, us-west-2.

*

* Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1. */ public String getMediaRegion() { return this.mediaRegion; } /** *

* The Region in which you create the meeting. Available values: af-south-1, * ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, * ap-southeast-2, ca-central-1, eu-central-1, eu-north-1, * eu-south-1, eu-west-1, eu-west-2, eu-west-3, * sa-east-1, us-east-1, us-east-2, us-west-1, * us-west-2. *

*

* Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1. *

* * @param mediaRegion * The Region in which you create the meeting. Available values: af-south-1, * ap-northeast-1, ap-northeast-2, ap-south-1, * ap-southeast-1, ap-southeast-2, ca-central-1, * eu-central-1, eu-north-1, eu-south-1, eu-west-1, * eu-west-2, eu-west-3, sa-east-1, us-east-1, * us-east-2, us-west-1, us-west-2.

*

* Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1. * @return Returns a reference to this object so that method calls can be chained together. */ public Meeting withMediaRegion(String mediaRegion) { setMediaRegion(mediaRegion); return this; } /** *

* The media placement for the meeting. *

* * @param mediaPlacement * The media placement for the meeting. */ public void setMediaPlacement(MediaPlacement mediaPlacement) { this.mediaPlacement = mediaPlacement; } /** *

* The media placement for the meeting. *

* * @return The media placement for the meeting. */ public MediaPlacement getMediaPlacement() { return this.mediaPlacement; } /** *

* The media placement for the meeting. *

* * @param mediaPlacement * The media placement for the meeting. * @return Returns a reference to this object so that method calls can be chained together. */ public Meeting withMediaPlacement(MediaPlacement mediaPlacement) { setMediaPlacement(mediaPlacement); return this; } /** *

* The features available to a meeting, such as echo reduction. *

* * @param meetingFeatures * The features available to a meeting, such as echo reduction. */ public void setMeetingFeatures(MeetingFeaturesConfiguration meetingFeatures) { this.meetingFeatures = meetingFeatures; } /** *

* The features available to a meeting, such as echo reduction. *

* * @return The features available to a meeting, such as echo reduction. */ public MeetingFeaturesConfiguration getMeetingFeatures() { return this.meetingFeatures; } /** *

* The features available to a meeting, such as echo reduction. *

* * @param meetingFeatures * The features available to a meeting, such as echo reduction. * @return Returns a reference to this object so that method calls can be chained together. */ public Meeting withMeetingFeatures(MeetingFeaturesConfiguration meetingFeatures) { setMeetingFeatures(meetingFeatures); return this; } /** *

* When specified, replicates the media from the primary meeting to this meeting. *

* * @param primaryMeetingId * When specified, replicates the media from the primary meeting to this meeting. */ public void setPrimaryMeetingId(String primaryMeetingId) { this.primaryMeetingId = primaryMeetingId; } /** *

* When specified, replicates the media from the primary meeting to this meeting. *

* * @return When specified, replicates the media from the primary meeting to this meeting. */ public String getPrimaryMeetingId() { return this.primaryMeetingId; } /** *

* When specified, replicates the media from the primary meeting to this meeting. *

* * @param primaryMeetingId * When specified, replicates the media from the primary meeting to this meeting. * @return Returns a reference to this object so that method calls can be chained together. */ public Meeting withPrimaryMeetingId(String primaryMeetingId) { setPrimaryMeetingId(primaryMeetingId); return this; } /** *

* Array of strings. *

* * @return Array of strings. */ public java.util.List getTenantIds() { return tenantIds; } /** *

* Array of strings. *

* * @param tenantIds * Array of strings. */ public void setTenantIds(java.util.Collection tenantIds) { if (tenantIds == null) { this.tenantIds = null; return; } this.tenantIds = new java.util.ArrayList(tenantIds); } /** *

* Array of strings. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setTenantIds(java.util.Collection)} or {@link #withTenantIds(java.util.Collection)} if you want to * override the existing values. *

* * @param tenantIds * Array of strings. * @return Returns a reference to this object so that method calls can be chained together. */ public Meeting withTenantIds(String... tenantIds) { if (this.tenantIds == null) { setTenantIds(new java.util.ArrayList(tenantIds.length)); } for (String ele : tenantIds) { this.tenantIds.add(ele); } return this; } /** *

* Array of strings. *

* * @param tenantIds * Array of strings. * @return Returns a reference to this object so that method calls can be chained together. */ public Meeting withTenantIds(java.util.Collection tenantIds) { setTenantIds(tenantIds); return this; } /** *

* The ARN of the meeting. *

* * @param meetingArn * The ARN of the meeting. */ public void setMeetingArn(String meetingArn) { this.meetingArn = meetingArn; } /** *

* The ARN of the meeting. *

* * @return The ARN of the meeting. */ public String getMeetingArn() { return this.meetingArn; } /** *

* The ARN of the meeting. *

* * @param meetingArn * The ARN of the meeting. * @return Returns a reference to this object so that method calls can be chained together. */ public Meeting withMeetingArn(String meetingArn) { setMeetingArn(meetingArn); 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 (getMeetingId() != null) sb.append("MeetingId: ").append(getMeetingId()).append(","); if (getMeetingHostId() != null) sb.append("MeetingHostId: ").append("***Sensitive Data Redacted***").append(","); if (getExternalMeetingId() != null) sb.append("ExternalMeetingId: ").append("***Sensitive Data Redacted***").append(","); if (getMediaRegion() != null) sb.append("MediaRegion: ").append(getMediaRegion()).append(","); if (getMediaPlacement() != null) sb.append("MediaPlacement: ").append(getMediaPlacement()).append(","); if (getMeetingFeatures() != null) sb.append("MeetingFeatures: ").append(getMeetingFeatures()).append(","); if (getPrimaryMeetingId() != null) sb.append("PrimaryMeetingId: ").append(getPrimaryMeetingId()).append(","); if (getTenantIds() != null) sb.append("TenantIds: ").append(getTenantIds()).append(","); if (getMeetingArn() != null) sb.append("MeetingArn: ").append(getMeetingArn()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof Meeting == false) return false; Meeting other = (Meeting) obj; if (other.getMeetingId() == null ^ this.getMeetingId() == null) return false; if (other.getMeetingId() != null && other.getMeetingId().equals(this.getMeetingId()) == false) return false; if (other.getMeetingHostId() == null ^ this.getMeetingHostId() == null) return false; if (other.getMeetingHostId() != null && other.getMeetingHostId().equals(this.getMeetingHostId()) == false) return false; if (other.getExternalMeetingId() == null ^ this.getExternalMeetingId() == null) return false; if (other.getExternalMeetingId() != null && other.getExternalMeetingId().equals(this.getExternalMeetingId()) == false) return false; if (other.getMediaRegion() == null ^ this.getMediaRegion() == null) return false; if (other.getMediaRegion() != null && other.getMediaRegion().equals(this.getMediaRegion()) == false) return false; if (other.getMediaPlacement() == null ^ this.getMediaPlacement() == null) return false; if (other.getMediaPlacement() != null && other.getMediaPlacement().equals(this.getMediaPlacement()) == false) return false; if (other.getMeetingFeatures() == null ^ this.getMeetingFeatures() == null) return false; if (other.getMeetingFeatures() != null && other.getMeetingFeatures().equals(this.getMeetingFeatures()) == false) return false; if (other.getPrimaryMeetingId() == null ^ this.getPrimaryMeetingId() == null) return false; if (other.getPrimaryMeetingId() != null && other.getPrimaryMeetingId().equals(this.getPrimaryMeetingId()) == false) return false; if (other.getTenantIds() == null ^ this.getTenantIds() == null) return false; if (other.getTenantIds() != null && other.getTenantIds().equals(this.getTenantIds()) == false) return false; if (other.getMeetingArn() == null ^ this.getMeetingArn() == null) return false; if (other.getMeetingArn() != null && other.getMeetingArn().equals(this.getMeetingArn()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getMeetingId() == null) ? 0 : getMeetingId().hashCode()); hashCode = prime * hashCode + ((getMeetingHostId() == null) ? 0 : getMeetingHostId().hashCode()); hashCode = prime * hashCode + ((getExternalMeetingId() == null) ? 0 : getExternalMeetingId().hashCode()); hashCode = prime * hashCode + ((getMediaRegion() == null) ? 0 : getMediaRegion().hashCode()); hashCode = prime * hashCode + ((getMediaPlacement() == null) ? 0 : getMediaPlacement().hashCode()); hashCode = prime * hashCode + ((getMeetingFeatures() == null) ? 0 : getMeetingFeatures().hashCode()); hashCode = prime * hashCode + ((getPrimaryMeetingId() == null) ? 0 : getPrimaryMeetingId().hashCode()); hashCode = prime * hashCode + ((getTenantIds() == null) ? 0 : getTenantIds().hashCode()); hashCode = prime * hashCode + ((getMeetingArn() == null) ? 0 : getMeetingArn().hashCode()); return hashCode; } @Override public Meeting clone() { try { return (Meeting) 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.chimesdkmeetings.model.transform.MeetingMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy