Skip navigation links
A B C D E G H I J L P S U V W 

A

AccessToken - Class in com.amazon.ask.model.services.lwa.model
An LWA access token
AccessToken(String, long) - Constructor for class com.amazon.ask.model.services.lwa.model.AccessToken
 
AccessTokenRequest - Class in com.amazon.ask.model.services.lwa.model
Request for retrieving an access token from LWA.
AccessTokenRequest.Builder - Class in com.amazon.ask.model.services.lwa.model
 
AccessTokenResponse - Class in com.amazon.ask.model.services.lwa.model
Response from LWA for retrieving an access token.
AccessTokenResponse.Builder - Class in com.amazon.ask.model.services.lwa.model
 
ApiClient - Interface in com.amazon.ask.model.services
Represents a basic contract for API request execution.
apiClient - Variable in class com.amazon.ask.model.services.BaseServiceClient
 
ApiClientMessage - Class in com.amazon.ask.model.services
Represents the interface between ApiClient and a Service Client.
ApiClientMessage() - Constructor for class com.amazon.ask.model.services.ApiClientMessage
 
ApiClientRequest - Class in com.amazon.ask.model.services
Represents a request sent from Service Clients to an ApiClient implementation.
ApiClientRequest() - Constructor for class com.amazon.ask.model.services.ApiClientRequest
 
ApiClientResponse - Class in com.amazon.ask.model.services
Represents a response returned by ApiClient implementation to a Service Client.
ApiClientResponse() - Constructor for class com.amazon.ask.model.services.ApiClientResponse
 
ApiConfiguration - Interface in com.amazon.ask.model.services
Represents an interface that provides API configuration options needed by service clients.
apiEndpoint - Variable in class com.amazon.ask.model.services.BaseServiceClient
 
ApiResponse<T> - Class in com.amazon.ask.model.services
 
ApiResponse(T, int, List<Pair<String, String>>) - Constructor for class com.amazon.ask.model.services.ApiResponse
 
AuthenticationConfiguration - Interface in com.amazon.ask.model.services
Abstraction for authentication configuration for a client ID and client secret.
authorizationValue - Variable in class com.amazon.ask.model.services.BaseServiceClient
 

B

BaseServiceClient - Class in com.amazon.ask.model.services
Class to be used as the base class for the generated service clients.
BaseServiceClient(ApiConfiguration) - Constructor for class com.amazon.ask.model.services.BaseServiceClient
 
build() - Method in class com.amazon.ask.model.services.DefaultApiConfiguration.Builder
Builds the ApiConfiguration instance with the values previously provided.
build() - Method in class com.amazon.ask.model.services.DefaultAuthenticationConfiguration.Builder
 
build() - Method in class com.amazon.ask.model.services.lwa.LwaClient.Builder
 
build() - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenRequest.Builder
 
build() - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenResponse.Builder
 
build() - Method in class com.amazon.ask.model.services.lwa.model.Error.Builder
 
build() - Method in class com.amazon.ask.model.services.util.UserAgentHelper.Builder
 
builder() - Static method in class com.amazon.ask.model.services.DefaultApiConfiguration
 
builder() - Static method in class com.amazon.ask.model.services.DefaultAuthenticationConfiguration
 
Builder() - Constructor for class com.amazon.ask.model.services.DefaultAuthenticationConfiguration.Builder
 
builder() - Static method in class com.amazon.ask.model.services.lwa.LwaClient
 
Builder() - Constructor for class com.amazon.ask.model.services.lwa.LwaClient.Builder
 
builder() - Static method in class com.amazon.ask.model.services.lwa.model.AccessTokenRequest
 
builder() - Static method in class com.amazon.ask.model.services.lwa.model.AccessTokenResponse
 
Builder() - Constructor for class com.amazon.ask.model.services.lwa.model.AccessTokenResponse.Builder
 
builder() - Static method in class com.amazon.ask.model.services.util.UserAgentHelper
 

C

com.amazon.ask.model.services - package com.amazon.ask.model.services
 
com.amazon.ask.model.services.lwa - package com.amazon.ask.model.services.lwa
 
com.amazon.ask.model.services.lwa.model - package com.amazon.ask.model.services.lwa.model
 
com.amazon.ask.model.services.util - package com.amazon.ask.model.services.util
 

D

DefaultApiConfiguration - Class in com.amazon.ask.model.services
Default implementation of API Configuration options which is pre-configured for most common use scenarios.
DefaultApiConfiguration.Builder - Class in com.amazon.ask.model.services
Helper class that builds an instance of a DefaultConfiguration.
DefaultAuthenticationConfiguration - Class in com.amazon.ask.model.services
Default implementation of AuthenticationConfiguration, used to wrap a client ID and client secret.
DefaultAuthenticationConfiguration(String, String, String) - Constructor for class com.amazon.ask.model.services.DefaultAuthenticationConfiguration
 
DefaultAuthenticationConfiguration.Builder - Class in com.amazon.ask.model.services
 
deserialize(String, Class<T>) - Method in interface com.amazon.ask.model.services.Serializer
Deserializes a String into an Object of a Well-known type.
deserialize(InputStream, Class<T>) - Method in interface com.amazon.ask.model.services.Serializer
Deserializes an InputStream into an Object of a Well-known type.
deserialize(String, Class<T>) - Method in class com.amazon.ask.model.services.util.JacksonSerializer
 
deserialize(InputStream, Class<T>) - Method in class com.amazon.ask.model.services.util.JacksonSerializer
 

E

equals(Object) - Method in class com.amazon.ask.model.services.Pair
 
Error - Class in com.amazon.ask.model.services.lwa.model
 
Error(Error.Builder) - Constructor for class com.amazon.ask.model.services.lwa.model.Error
 
Error.Builder - Class in com.amazon.ask.model.services.lwa.model
 
executeRequest(String, String, String, List<Pair<String, String>>, List<Pair<String, String>>, Map<String, String>, List<ServiceClientResponse>, Object, Class<T>, boolean) - Method in class com.amazon.ask.model.services.BaseServiceClient
Calls the ApiClient based on the ServiceClient specific data provided as well as handles the well-known responses from the Api

G

getAccessToken() - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenResponse
 
getAccessTokenForRefreshToken() - Method in class com.amazon.ask.model.services.lwa.LwaClient
Retrieves an access token using the configured client id, client secret, and refresh token
getAccessTokenForScope(String) - Method in class com.amazon.ask.model.services.lwa.LwaClient
Retrieves an access token for the given scope, using the configured client id and client secret
getApiClient() - Method in interface com.amazon.ask.model.services.ApiConfiguration
Retrieves the configured API Client implementation.
getApiClient() - Method in class com.amazon.ask.model.services.DefaultApiConfiguration
 
getApiEndpoint() - Method in interface com.amazon.ask.model.services.ApiConfiguration
Retrieves the endpoint for the API call.
getApiEndpoint() - Method in class com.amazon.ask.model.services.DefaultApiConfiguration
 
getAuthorizationValue() - Method in interface com.amazon.ask.model.services.ApiConfiguration
Retrieves the Authorization value registered to be sent from the Service Clients
getAuthorizationValue() - Method in class com.amazon.ask.model.services.DefaultApiConfiguration
 
getBody() - Method in class com.amazon.ask.model.services.ApiClientMessage
 
getBody() - Method in exception com.amazon.ask.model.services.ServiceException
 
getClientId() - Method in interface com.amazon.ask.model.services.AuthenticationConfiguration
Retrieves the configured client ID.
getClientId() - Method in class com.amazon.ask.model.services.DefaultAuthenticationConfiguration
Retrieves the configured client ID.
getClientId() - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenRequest
 
getClientSecret() - Method in interface com.amazon.ask.model.services.AuthenticationConfiguration
Retrieves the configured client secret.
getClientSecret() - Method in class com.amazon.ask.model.services.DefaultAuthenticationConfiguration
Retrieves the configured client secret.
getClientSecret() - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenRequest
 
getError() - Method in class com.amazon.ask.model.services.lwa.model.Error
 
getErrorDescription() - Method in class com.amazon.ask.model.services.lwa.model.Error
 
getExpiresIn() - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenResponse
 
getExpiry() - Method in class com.amazon.ask.model.services.lwa.model.AccessToken
Returns the LWA token expiry, in seconds
getHeaders() - Method in class com.amazon.ask.model.services.ApiClientMessage
 
getHeaders() - Method in class com.amazon.ask.model.services.ApiResponse
 
getHeaders() - Method in exception com.amazon.ask.model.services.ServiceException
Gets the headers of the Http Response that return the failure.
getMessage() - Method in class com.amazon.ask.model.services.ServiceClientResponse
Error message to be displayed when a Response of this type is encountered.
getMethod() - Method in class com.amazon.ask.model.services.ApiClientRequest
 
getName() - Method in class com.amazon.ask.model.services.Pair
Gets the name property of the pair.
getRefreshToken() - Method in interface com.amazon.ask.model.services.AuthenticationConfiguration
Retrieves the configured refresh token.
getRefreshToken() - Method in class com.amazon.ask.model.services.DefaultAuthenticationConfiguration
Retrieves the configured refresh token.
getRefreshToken() - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenRequest
 
getResponse() - Method in class com.amazon.ask.model.services.ApiResponse
 
getScope() - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenRequest
 
getScope() - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenResponse
 
getSerializer() - Method in interface com.amazon.ask.model.services.ApiConfiguration
 
getSerializer() - Method in class com.amazon.ask.model.services.DefaultApiConfiguration
 
getStatusCode() - Method in class com.amazon.ask.model.services.ApiClientResponse
 
getStatusCode() - Method in class com.amazon.ask.model.services.ApiResponse
 
getStatusCode() - Method in class com.amazon.ask.model.services.ServiceClientResponse
Status code returned with the response
getStatusCode() - Method in exception com.amazon.ask.model.services.ServiceException
Gets the status code of the Http Response
getToken() - Method in class com.amazon.ask.model.services.lwa.model.AccessToken
Returns the LWA access token.
getTokenType() - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenResponse
 
getType() - Method in class com.amazon.ask.model.services.ServiceClientResponse
Retrieves the Well-known representation of the Response
getUrl() - Method in class com.amazon.ask.model.services.ApiClientRequest
 
getUserAgent() - Method in class com.amazon.ask.model.services.util.UserAgentHelper
Returns the user agent string.
getValue() - Method in enum com.amazon.ask.model.services.lwa.model.GrantType
 
getValue() - Method in class com.amazon.ask.model.services.Pair
Gets the value property of the pair.
GrantType - Enum in com.amazon.ask.model.services.lwa.model
 

H

hashCode() - Method in class com.amazon.ask.model.services.Pair
 

I

invoke(ApiClientRequest) - Method in interface com.amazon.ask.model.services.ApiClient
Dispatches a request to an API endpoint described in the request.
invoke(String, String, String, List<Pair<String, String>>, List<Pair<String, String>>, Map<String, String>, List<ServiceClientResponse>, Object, Class) - Method in class com.amazon.ask.model.services.BaseServiceClient
Deprecated.
invoke(String, String, String, List<Pair<String, String>>, List<Pair<String, String>>, Map<String, String>, List<ServiceClientResponse>, Object, Class, boolean) - Method in class com.amazon.ask.model.services.BaseServiceClient
Deprecated.

J

JacksonSerializer - Class in com.amazon.ask.model.services.util
Jackson backed implementation of Serializer
JacksonSerializer() - Constructor for class com.amazon.ask.model.services.util.JacksonSerializer
 

L

LwaClient - Class in com.amazon.ask.model.services.lwa
Client for calling Amazon LWA to retrieve access tokens.
LwaClient.Builder - Class in com.amazon.ask.model.services.lwa
 

P

Pair<K,V> - Class in com.amazon.ask.model.services
Implementation of a Pair data structure.
Pair(K, V) - Constructor for class com.amazon.ask.model.services.Pair
 

S

serialize(T) - Method in interface com.amazon.ask.model.services.Serializer
Serializes an Object into a string.
serialize(T, OutputStream) - Method in interface com.amazon.ask.model.services.Serializer
Serializes an Object to an OutputStream.
serialize(T) - Method in class com.amazon.ask.model.services.util.JacksonSerializer
 
serialize(T, OutputStream) - Method in class com.amazon.ask.model.services.util.JacksonSerializer
 
serializer - Variable in class com.amazon.ask.model.services.BaseServiceClient
 
Serializer - Interface in com.amazon.ask.model.services
Represents an object used for Serialization tasks.
SerializerException - Exception in com.amazon.ask.model.services
 
SerializerException(String) - Constructor for exception com.amazon.ask.model.services.SerializerException
 
SerializerException(String, Throwable) - Constructor for exception com.amazon.ask.model.services.SerializerException
 
ServiceClientResponse - Class in com.amazon.ask.model.services
 
ServiceClientResponse(Class, int, String) - Constructor for class com.amazon.ask.model.services.ServiceClientResponse
 
ServiceException - Exception in com.amazon.ask.model.services
Exception thrown by a Service client when an error response was received or some operation failed.
ServiceException(String, int, List<Pair<String, String>>, Object) - Constructor for exception com.amazon.ask.model.services.ServiceException
 
ServiceException(String, int, List<Pair<String, String>>, Object, Throwable) - Constructor for exception com.amazon.ask.model.services.ServiceException
 
setBody(String) - Method in class com.amazon.ask.model.services.ApiClientMessage
 
setBody(String) - Method in exception com.amazon.ask.model.services.ServiceException
 
setHeaders(List<Pair<String, String>>) - Method in class com.amazon.ask.model.services.ApiClientMessage
 
setHeaders(List<Pair<String, String>>) - Method in exception com.amazon.ask.model.services.ServiceException
Sets the headers of the Http Response that return the failure.
setMessage(String) - Method in class com.amazon.ask.model.services.ServiceClientResponse
 
setMethod(String) - Method in class com.amazon.ask.model.services.ApiClientRequest
 
setStatusCode(int) - Method in class com.amazon.ask.model.services.ApiClientResponse
 
setStatusCode(int) - Method in class com.amazon.ask.model.services.ServiceClientResponse
 
setStatusCode(int) - Method in exception com.amazon.ask.model.services.ServiceException
Sets the status code of the Http Response
setType(Class) - Method in class com.amazon.ask.model.services.ServiceClientResponse
 
setUrl(String) - Method in class com.amazon.ask.model.services.ApiClientRequest
 

U

UserAgentHelper - Class in com.amazon.ask.model.services.util
 
UserAgentHelper(String, String) - Constructor for class com.amazon.ask.model.services.util.UserAgentHelper
 
UserAgentHelper.Builder - Class in com.amazon.ask.model.services.util
 

V

valueOf(String) - Static method in enum com.amazon.ask.model.services.lwa.model.GrantType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.amazon.ask.model.services.lwa.model.GrantType
Returns an array containing the constants of this enum type, in the order they are declared.

W

withAccessToken(String) - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenResponse.Builder
 
withApiClient(ApiClient) - Method in class com.amazon.ask.model.services.DefaultApiConfiguration.Builder
Sets the default ApiClient instance to be configured.
withApiConfiguration(ApiConfiguration) - Method in class com.amazon.ask.model.services.lwa.LwaClient.Builder
 
withApiEndpoint(String) - Method in class com.amazon.ask.model.services.DefaultApiConfiguration.Builder
Sets the default endpoint for an Api call.
withAuthenticationConfiguration(AuthenticationConfiguration) - Method in class com.amazon.ask.model.services.lwa.LwaClient.Builder
 
withAuthorizationValue(String) - Method in class com.amazon.ask.model.services.DefaultApiConfiguration.Builder
Sets the authorization value to be configured.
withClientId(String) - Method in class com.amazon.ask.model.services.DefaultAuthenticationConfiguration.Builder
 
withClientId(String) - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenRequest.Builder
 
withClientSecret(String) - Method in class com.amazon.ask.model.services.DefaultAuthenticationConfiguration.Builder
 
withClientSecret(String) - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenRequest.Builder
 
withCustomUserAgent(String) - Method in class com.amazon.ask.model.services.util.UserAgentHelper.Builder
 
withError(String) - Method in class com.amazon.ask.model.services.lwa.model.Error.Builder
 
withErrorDescription(String) - Method in class com.amazon.ask.model.services.lwa.model.Error.Builder
 
withExpiresIn(long) - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenResponse.Builder
 
withGrantType(GrantType) - Method in class com.amazon.ask.model.services.lwa.LwaClient.Builder
 
withRefreshToken(String) - Method in class com.amazon.ask.model.services.DefaultAuthenticationConfiguration.Builder
 
withRefreshToken(String) - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenRequest.Builder
 
withScope(String) - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenRequest.Builder
 
withScope(String) - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenResponse.Builder
 
withSdkVersion(String) - Method in class com.amazon.ask.model.services.util.UserAgentHelper.Builder
 
withSerializer(Serializer) - Method in class com.amazon.ask.model.services.DefaultApiConfiguration.Builder
Sets the default Serializer instance to be configured.
withTokenType(String) - Method in class com.amazon.ask.model.services.lwa.model.AccessTokenResponse.Builder
 
A B C D E G H I J L P S U V W 
Skip navigation links

Copyright © 2019. All rights reserved.