@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRoomMembershipRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRoomMembershipRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRoomMembershipRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Chime account ID.
|
String |
getMemberId()
The Amazon Chime member ID (user ID or bot ID).
|
String |
getRole()
The role of the member.
|
String |
getRoomId()
The room ID.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The Amazon Chime account ID.
|
void |
setMemberId(String memberId)
The Amazon Chime member ID (user ID or bot ID).
|
void |
setRole(String role)
The role of the member.
|
void |
setRoomId(String roomId)
The room ID.
|
String |
toString()
Returns a string representation of this object.
|
CreateRoomMembershipRequest |
withAccountId(String accountId)
The Amazon Chime account ID.
|
CreateRoomMembershipRequest |
withMemberId(String memberId)
The Amazon Chime member ID (user ID or bot ID).
|
CreateRoomMembershipRequest |
withRole(RoomMembershipRole role)
The role of the member.
|
CreateRoomMembershipRequest |
withRole(String role)
The role of the member.
|
CreateRoomMembershipRequest |
withRoomId(String roomId)
The room ID.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAccountId(String accountId)
The Amazon Chime account ID.
accountId
- The Amazon Chime account ID.public String getAccountId()
The Amazon Chime account ID.
public CreateRoomMembershipRequest withAccountId(String accountId)
The Amazon Chime account ID.
accountId
- The Amazon Chime account ID.public void setRoomId(String roomId)
The room ID.
roomId
- The room ID.public String getRoomId()
The room ID.
public CreateRoomMembershipRequest withRoomId(String roomId)
The room ID.
roomId
- The room ID.public void setMemberId(String memberId)
The Amazon Chime member ID (user ID or bot ID).
memberId
- The Amazon Chime member ID (user ID or bot ID).public String getMemberId()
The Amazon Chime member ID (user ID or bot ID).
public CreateRoomMembershipRequest withMemberId(String memberId)
The Amazon Chime member ID (user ID or bot ID).
memberId
- The Amazon Chime member ID (user ID or bot ID).public void setRole(String role)
The role of the member.
role
- The role of the member.RoomMembershipRole
public String getRole()
The role of the member.
RoomMembershipRole
public CreateRoomMembershipRequest withRole(String role)
The role of the member.
role
- The role of the member.RoomMembershipRole
public CreateRoomMembershipRequest withRole(RoomMembershipRole role)
The role of the member.
role
- The role of the member.RoomMembershipRole
public String toString()
toString
in class Object
Object.toString()
public CreateRoomMembershipRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()