Enum SimpleMethodOverload
- All Implemented Interfaces:
Serializable
,Comparable<SimpleMethodOverload>
Enum describing all the convenience overloads we generate for operation methods.
-
Enum Constant Summary
Enum ConstantDescriptionSimple method only for sync operations that have a streaming output.Simple method for streaming operations (input or output) that takes in the request object and a file to upload from or download to.Simple method only for sync operations that have a streaming output.Simple method that takes no arguments and creates an empty request object that delegates to theNORMAL
overload.Paginated simple method that takes no arguments and creates an empty request object.The standard method overload.The standard paginated method overload that takes in a request object and returns a response object. -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.codegen.docs.OperationDocProvider
asyncDocsProvider
(IntermediateModel model, OperationModel opModel, DocConfiguration docConfiguration) software.amazon.awssdk.codegen.docs.OperationDocProvider
syncDocsProvider
(IntermediateModel model, OperationModel opModel, DocConfiguration docConfiguration) static SimpleMethodOverload
Returns the enum constant of this type with the specified name.static SimpleMethodOverload[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NORMAL
The standard method overload. For non-streaming sync this is the method that take in a request object and returns a response object. -
PAGINATED
The standard paginated method overload that takes in a request object and returns a response object. -
NO_ARG
Simple method that takes no arguments and creates an empty request object that delegates to theNORMAL
overload. -
NO_ARG_PAGINATED
Paginated simple method that takes no arguments and creates an empty request object. -
FILE
Simple method for streaming operations (input or output) that takes in the request object and a file to upload from or download to. -
INPUT_STREAM
Simple method only for sync operations that have a streaming output. Takes a request object and returns an unmanagedResponseInputStream
to read the response contents. -
BYTES
Simple method only for sync operations that have a streaming output. Takes a request object and return aResponseBytes
to give byte-buffer access and convenience methods for type conversion.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
syncDocsProvider
public software.amazon.awssdk.codegen.docs.OperationDocProvider syncDocsProvider(IntermediateModel model, OperationModel opModel, DocConfiguration docConfiguration) -
asyncDocsProvider
public software.amazon.awssdk.codegen.docs.OperationDocProvider asyncDocsProvider(IntermediateModel model, OperationModel opModel, DocConfiguration docConfiguration)
-