@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisconnectUserRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DisconnectUserRequest() |
Modifier and Type | Method and Description |
---|---|
DisconnectUserRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getReason()
Reason for disconnecting the user.
|
String |
getRoomIdentifier()
Identifier of the room from which the user's clients should be disconnected.
|
String |
getUserId()
ID of the user (connection) to disconnect from the room.
|
int |
hashCode() |
void |
setReason(String reason)
Reason for disconnecting the user.
|
void |
setRoomIdentifier(String roomIdentifier)
Identifier of the room from which the user's clients should be disconnected.
|
void |
setUserId(String userId)
ID of the user (connection) to disconnect from the room.
|
String |
toString()
Returns a string representation of this object.
|
DisconnectUserRequest |
withReason(String reason)
Reason for disconnecting the user.
|
DisconnectUserRequest |
withRoomIdentifier(String roomIdentifier)
Identifier of the room from which the user's clients should be disconnected.
|
DisconnectUserRequest |
withUserId(String userId)
ID of the user (connection) to disconnect from the room.
|
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 setRoomIdentifier(String roomIdentifier)
Identifier of the room from which the user's clients should be disconnected. Currently this must be an ARN.
roomIdentifier
- Identifier of the room from which the user's clients should be disconnected. Currently this must be an
ARN.public String getRoomIdentifier()
Identifier of the room from which the user's clients should be disconnected. Currently this must be an ARN.
public DisconnectUserRequest withRoomIdentifier(String roomIdentifier)
Identifier of the room from which the user's clients should be disconnected. Currently this must be an ARN.
roomIdentifier
- Identifier of the room from which the user's clients should be disconnected. Currently this must be an
ARN.public void setUserId(String userId)
ID of the user (connection) to disconnect from the room.
userId
- ID of the user (connection) to disconnect from the room.public String getUserId()
ID of the user (connection) to disconnect from the room.
public DisconnectUserRequest withUserId(String userId)
ID of the user (connection) to disconnect from the room.
userId
- ID of the user (connection) to disconnect from the room.public void setReason(String reason)
Reason for disconnecting the user.
reason
- Reason for disconnecting the user.public String getReason()
Reason for disconnecting the user.
public DisconnectUserRequest withReason(String reason)
Reason for disconnecting the user.
reason
- Reason for disconnecting the user.public String toString()
toString
in class Object
Object.toString()
public DisconnectUserRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()