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 String
APPLICATION_MODEL_TYPE
static AuthorizeClientDeviceActionRequest
VOID
-
Constructor Summary
Constructors Constructor Description AuthorizeClientDeviceActionRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object rhs)
String
getApplicationModelType()
Returns the named model type.String
getClientDeviceAuthToken()
The session token for the client device from GetClientDeviceAuthToken.String
getOperation()
The operation to authorize.String
getResource()
The resource the client device performs the operation on.int
hashCode()
void
setClientDeviceAuthToken(String clientDeviceAuthToken)
The session token for the client device from GetClientDeviceAuthToken.void
setOperation(String operation)
The operation to authorize.void
setResource(String resource)
The resource the client device performs the operation on.AuthorizeClientDeviceActionRequest
withClientDeviceAuthToken(String clientDeviceAuthToken)
The session token for the client device from GetClientDeviceAuthToken.AuthorizeClientDeviceActionRequest
withOperation(String operation)
The operation to authorize.AuthorizeClientDeviceActionRequest
withResource(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:EventStreamJsonMessage
Returns the named model type. May be used for a header.- Specified by:
getApplicationModelType
in interfaceEventStreamJsonMessage
- Returns:
- the named model type
-
-