Class ListComponentsOperationContext
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.ListComponentsOperationContext
-
- All Implemented Interfaces:
OperationModelContext<ListComponentsRequest,ListComponentsResponse,EventStreamJsonMessage,EventStreamJsonMessage>
public class ListComponentsOperationContext extends Object implements OperationModelContext<ListComponentsRequest,ListComponentsResponse,EventStreamJsonMessage,EventStreamJsonMessage>
Request for a list of components
-
-
Constructor Summary
Constructors Constructor Description ListComponentsOperationContext()
-
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<ListComponentsRequest>
getRequestTypeClass()
Returns the initial-request java class typeString
getResponseApplicationModelType()
Returns the application model type string for the initial response objectClass<ListComponentsResponse>
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<ListComponentsRequest,ListComponentsResponse,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<ListComponentsRequest,ListComponentsResponse,EventStreamJsonMessage,EventStreamJsonMessage>
- Returns:
- the canonical operation name associated with this context across any client language.
-
getRequestTypeClass
public Class<ListComponentsRequest> getRequestTypeClass()
Description copied from interface:OperationModelContext
Returns the initial-request java class type- Specified by:
getRequestTypeClass
in interfaceOperationModelContext<ListComponentsRequest,ListComponentsResponse,EventStreamJsonMessage,EventStreamJsonMessage>
- Returns:
- the initial-request java class type
-
getResponseTypeClass
public Class<ListComponentsResponse> getResponseTypeClass()
Description copied from interface:OperationModelContext
Returns the initial-response java class type- Specified by:
getResponseTypeClass
in interfaceOperationModelContext<ListComponentsRequest,ListComponentsResponse,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<ListComponentsRequest,ListComponentsResponse,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<ListComponentsRequest,ListComponentsResponse,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<ListComponentsRequest,ListComponentsResponse,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<ListComponentsRequest,ListComponentsResponse,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<ListComponentsRequest,ListComponentsResponse,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<ListComponentsRequest,ListComponentsResponse,EventStreamJsonMessage,EventStreamJsonMessage>
- Returns:
- the streaming response application model string
-
-