Class AuthorizeClientDeviceActionRequest
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.AuthorizeClientDeviceActionRequest
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class AuthorizeClientDeviceActionRequest extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_MODEL_TYPEstatic AuthorizeClientDeviceActionRequestVOID
-
Constructor Summary
Constructors Constructor Description AuthorizeClientDeviceActionRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object rhs)StringgetApplicationModelType()Returns the named model type.StringgetClientDeviceAuthToken()The session token for the client device from GetClientDeviceAuthToken.StringgetOperation()The operation to authorize.StringgetResource()The resource the client device performs the operation on.inthashCode()voidsetClientDeviceAuthToken(String clientDeviceAuthToken)The session token for the client device from GetClientDeviceAuthToken.voidsetOperation(String operation)The operation to authorize.voidsetResource(String resource)The resource the client device performs the operation on.AuthorizeClientDeviceActionRequestwithClientDeviceAuthToken(String clientDeviceAuthToken)The session token for the client device from GetClientDeviceAuthToken.AuthorizeClientDeviceActionRequestwithOperation(String operation)The operation to authorize.AuthorizeClientDeviceActionRequestwithResource(String resource)The resource the client device performs the operation on.-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
-
-
-
Field Detail
-
APPLICATION_MODEL_TYPE
public static final String APPLICATION_MODEL_TYPE
- See Also:
- Constant Field Values
-
VOID
public static final AuthorizeClientDeviceActionRequest VOID
-
-
Method Detail
-
getClientDeviceAuthToken
public String getClientDeviceAuthToken()
The session token for the client device from GetClientDeviceAuthToken.
-
setClientDeviceAuthToken
public void setClientDeviceAuthToken(String clientDeviceAuthToken)
The session token for the client device from GetClientDeviceAuthToken.
-
withClientDeviceAuthToken
public AuthorizeClientDeviceActionRequest withClientDeviceAuthToken(String clientDeviceAuthToken)
The session token for the client device from GetClientDeviceAuthToken.
-
getOperation
public String getOperation()
The operation to authorize.
-
setOperation
public void setOperation(String operation)
The operation to authorize.
-
withOperation
public AuthorizeClientDeviceActionRequest withOperation(String operation)
The operation to authorize.
-
getResource
public String getResource()
The resource the client device performs the operation on.
-
setResource
public void setResource(String resource)
The resource the client device performs the operation on.
-
withResource
public AuthorizeClientDeviceActionRequest withResource(String resource)
The resource the client device performs the operation on.
-
getApplicationModelType
public String getApplicationModelType()
Description copied from interface:EventStreamJsonMessageReturns the named model type. May be used for a header.- Specified by:
getApplicationModelTypein interfaceEventStreamJsonMessage- Returns:
- the named model type
-
-