/* * Copyright 2010-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.chimesdkmessaging.model; import java.io.Serializable; /** *
* Summary of the membership details of an AppInstanceUser
.
*
* The type of ChannelMembership
.
*
* Constraints:
* Allowed Values: DEFAULT, HIDDEN
*/
private String type;
/**
*
* The time at which an AppInstanceUser
last marked a channel
* as read.
*
* The ID of the SubChannel that the AppInstanceUser
is a
* member of.
*
* Constraints:
* Length: 1 - 128
* Pattern: [-_a-zA-Z0-9]*
*/
private String subChannelId;
/**
*
* The type of ChannelMembership
.
*
* Constraints:
* Allowed Values: DEFAULT, HIDDEN
*
* @return
* The type of ChannelMembership
.
*
* The type of ChannelMembership
.
*
* Constraints:
* Allowed Values: DEFAULT, HIDDEN
*
* @param type
* The type of ChannelMembership
.
*
* The type of ChannelMembership
.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: DEFAULT, HIDDEN
*
* @param type
* The type of ChannelMembership
.
*
* The type of ChannelMembership
.
*
* Constraints:
* Allowed Values: DEFAULT, HIDDEN
*
* @param type
* The type of ChannelMembership
.
*
* The type of ChannelMembership
.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: DEFAULT, HIDDEN
*
* @param type
* The type of ChannelMembership
.
*
* The time at which an AppInstanceUser
last marked a channel
* as read.
*
* The time at which an AppInstanceUser
last marked a
* channel as read.
*
* The time at which an AppInstanceUser
last marked a channel
* as read.
*
* The time at which an AppInstanceUser
last marked
* a channel as read.
*
* The time at which an AppInstanceUser
last marked a channel
* as read.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param readMarkerTimestamp
* The time at which an AppInstanceUser
last marked
* a channel as read.
*
* The ID of the SubChannel that the AppInstanceUser
is a
* member of.
*
* Constraints:
* Length: 1 - 128
* Pattern: [-_a-zA-Z0-9]*
*
* @return
* The ID of the SubChannel that the AppInstanceUser
is
* a member of.
*
* The ID of the SubChannel that the AppInstanceUser
is a
* member of.
*
* Constraints:
* Length: 1 - 128
* Pattern: [-_a-zA-Z0-9]*
*
* @param subChannelId
* The ID of the SubChannel that the AppInstanceUser
* is a member of.
*
* The ID of the SubChannel that the AppInstanceUser
is a
* member of.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Length: 1 - 128
* Pattern: [-_a-zA-Z0-9]*
*
* @param subChannelId
* The ID of the SubChannel that the AppInstanceUser
* is a member of.
*