Class DeferComponentUpdateOperationContext
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.DeferComponentUpdateOperationContext
-
- All Implemented Interfaces:
OperationModelContext<DeferComponentUpdateRequest,DeferComponentUpdateResponse,EventStreamJsonMessage,EventStreamJsonMessage>
public class DeferComponentUpdateOperationContext extends Object implements OperationModelContext<DeferComponentUpdateRequest,DeferComponentUpdateResponse,EventStreamJsonMessage,EventStreamJsonMessage>
Defer the update of components by a given amount of time and check again after that.
-
-
Constructor Summary
Constructors Constructor Description DeferComponentUpdateOperationContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOperationName()
Returns the canonical operation name associated with this context across any client language.String
getRequestApplicationModelType()
Returns the application model type string for the initial-request objectClass<DeferComponentUpdateRequest>
getRequestTypeClass()
Returns the initial-request java class typeString
getResponseApplicationModelType()
Returns the application model type string for the initial response objectClass<DeferComponentUpdateResponse>
getResponseTypeClass()
Returns the initial-response java class typeEventStreamRPCServiceModel
getServiceModel()
Returns the service model which can look up all/any Java error class types if an operation throws it so the handling has a chanceOptional<String>
getStreamingRequestApplicationModelType()
Returns the application model type ofOptional<Class<EventStreamJsonMessage>>
getStreamingRequestTypeClass()
Returns the streaming-request java class typeOptional<String>
getStreamingResponseApplicationModelType()
Returns the streaming response application model stringOptional<Class<EventStreamJsonMessage>>
getStreamingResponseTypeClass()
Returns the streaming-response java class type-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.eventstreamrpc.OperationModelContext
isStreamingOperation
-
-
-
-
Method Detail
-
getServiceModel
public EventStreamRPCServiceModel getServiceModel()
Description copied from interface:OperationModelContext
Returns the service model which can look up all/any Java error class types if an operation throws it so the handling has a chance- Specified by:
getServiceModel
in interfaceOperationModelContext<DeferComponentUpdateRequest,DeferComponentUpdateResponse,EventStreamJsonMessage,EventStreamJsonMessage>
- Returns:
- the service model which can look up all/any Java error class types if an operation throws it so the handling has a chance
-
getOperationName
public String getOperationName()
Description copied from interface:OperationModelContext
Returns the canonical operation name associated with this context across any client language. Namespace included Example: aws.greengrass#SubscribeToTopic- Specified by:
getOperationName
in interfaceOperationModelContext<DeferComponentUpdateRequest,DeferComponentUpdateResponse,EventStreamJsonMessage,EventStreamJsonMessage>
- Returns:
- the canonical operation name associated with this context across any client language.
-
getRequestTypeClass
public Class<DeferComponentUpdateRequest> getRequestTypeClass()
Description copied from interface:OperationModelContext
Returns the initial-request java class type- Specified by:
getRequestTypeClass
in interfaceOperationModelContext<DeferComponentUpdateRequest,DeferComponentUpdateResponse,EventStreamJsonMessage,EventStreamJsonMessage>
- Returns:
- the initial-request java class type
-
getResponseTypeClass
public Class<DeferComponentUpdateResponse> getResponseTypeClass()
Description copied from interface:OperationModelContext
Returns the initial-response java class type- Specified by:
getResponseTypeClass
in interfaceOperationModelContext<DeferComponentUpdateRequest,DeferComponentUpdateResponse,EventStreamJsonMessage,EventStreamJsonMessage>
- Returns:
- the initial-response java class type
-
getRequestApplicationModelType
public String getRequestApplicationModelType()
Description copied from interface:OperationModelContext
Returns the application model type string for the initial-request object- Specified by:
getRequestApplicationModelType
in interfaceOperationModelContext<DeferComponentUpdateRequest,DeferComponentUpdateResponse,EventStreamJsonMessage,EventStreamJsonMessage>
- Returns:
- the application model type string for the initial-request object
-
getResponseApplicationModelType
public String getResponseApplicationModelType()
Description copied from interface:OperationModelContext
Returns the application model type string for the initial response object- Specified by:
getResponseApplicationModelType
in interfaceOperationModelContext<DeferComponentUpdateRequest,DeferComponentUpdateResponse,EventStreamJsonMessage,EventStreamJsonMessage>
- Returns:
- the application model type string for the initial response object
-
getStreamingRequestTypeClass
public Optional<Class<EventStreamJsonMessage>> getStreamingRequestTypeClass()
Description copied from interface:OperationModelContext
Returns the streaming-request java class type- Specified by:
getStreamingRequestTypeClass
in interfaceOperationModelContext<DeferComponentUpdateRequest,DeferComponentUpdateResponse,EventStreamJsonMessage,EventStreamJsonMessage>
- Returns:
- the streaming-request java class type
-
getStreamingResponseTypeClass
public Optional<Class<EventStreamJsonMessage>> getStreamingResponseTypeClass()
Description copied from interface:OperationModelContext
Returns the streaming-response java class type- Specified by:
getStreamingResponseTypeClass
in interfaceOperationModelContext<DeferComponentUpdateRequest,DeferComponentUpdateResponse,EventStreamJsonMessage,EventStreamJsonMessage>
- Returns:
- the streaming-response java class type
-
getStreamingRequestApplicationModelType
public Optional<String> getStreamingRequestApplicationModelType()
Description copied from interface:OperationModelContext
Returns the application model type of- Specified by:
getStreamingRequestApplicationModelType
in interfaceOperationModelContext<DeferComponentUpdateRequest,DeferComponentUpdateResponse,EventStreamJsonMessage,EventStreamJsonMessage>
- Returns:
- the application model type of
-
getStreamingResponseApplicationModelType
public Optional<String> getStreamingResponseApplicationModelType()
Description copied from interface:OperationModelContext
Returns the streaming response application model string- Specified by:
getStreamingResponseApplicationModelType
in interfaceOperationModelContext<DeferComponentUpdateRequest,DeferComponentUpdateResponse,EventStreamJsonMessage,EventStreamJsonMessage>
- Returns:
- the streaming response application model string
-
-