Class GetSdkRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddParametersEntry
(String key, String value) Removes all the entries added into Parameters.clone()
Creates a shallow clone of this request.boolean
A key-value map of query string parameters that specify properties of the SDK, depending on the requested sdkType.The identifier of the RestApi that the SDK will use.The language for the generated SDK.The name of the Stage that the SDK will use.int
hashCode()
void
setParameters
(Map<String, String> parameters) A key-value map of query string parameters that specify properties of the SDK, depending on the requested sdkType.void
setRestApiId
(String restApiId) The identifier of the RestApi that the SDK will use.void
setSdkType
(String sdkType) The language for the generated SDK.void
setStageName
(String stageName) The name of the Stage that the SDK will use.toString()
Returns a string representation of this object; useful for testing and debugging.withParameters
(Map<String, String> parameters) A key-value map of query string parameters that specify properties of the SDK, depending on the requested sdkType.withRestApiId
(String restApiId) The identifier of the RestApi that the SDK will use.withSdkType
(String sdkType) The language for the generated SDK.withStageName
(String stageName) The name of the Stage that the SDK will use.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
GetSdkRequest
public GetSdkRequest()
-
-
Method Details
-
setRestApiId
The identifier of the RestApi that the SDK will use.
- Parameters:
restApiId
- The identifier of the RestApi that the SDK will use.
-
getRestApiId
The identifier of the RestApi that the SDK will use.
- Returns:
- The identifier of the RestApi that the SDK will use.
-
withRestApiId
The identifier of the RestApi that the SDK will use.
- Parameters:
restApiId
- The identifier of the RestApi that the SDK will use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStageName
The name of the Stage that the SDK will use.
- Parameters:
stageName
- The name of the Stage that the SDK will use.
-
getStageName
The name of the Stage that the SDK will use.
- Returns:
- The name of the Stage that the SDK will use.
-
withStageName
The name of the Stage that the SDK will use.
- Parameters:
stageName
- The name of the Stage that the SDK will use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSdkType
The language for the generated SDK. Currently javascript, android, and objectivec (for iOS) are supported.
- Parameters:
sdkType
- The language for the generated SDK. Currently javascript, android, and objectivec (for iOS) are supported.
-
getSdkType
The language for the generated SDK. Currently javascript, android, and objectivec (for iOS) are supported.
- Returns:
- The language for the generated SDK. Currently javascript, android, and objectivec (for iOS) are supported.
-
withSdkType
The language for the generated SDK. Currently javascript, android, and objectivec (for iOS) are supported.
- Parameters:
sdkType
- The language for the generated SDK. Currently javascript, android, and objectivec (for iOS) are supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getParameters
A key-value map of query string parameters that specify properties of the SDK, depending on the requested sdkType. For sdkType 'objectivec', a parameter named "classPrefix" is required. For sdkType 'android', parameters named "groupId", "artifactId", "artifactVersion", and "invokerPackage" are required.
- Returns:
- A key-value map of query string parameters that specify properties of the SDK, depending on the requested sdkType. For sdkType 'objectivec', a parameter named "classPrefix" is required. For sdkType 'android', parameters named "groupId", "artifactId", "artifactVersion", and "invokerPackage" are required.
-
setParameters
A key-value map of query string parameters that specify properties of the SDK, depending on the requested sdkType. For sdkType 'objectivec', a parameter named "classPrefix" is required. For sdkType 'android', parameters named "groupId", "artifactId", "artifactVersion", and "invokerPackage" are required.
- Parameters:
parameters
- A key-value map of query string parameters that specify properties of the SDK, depending on the requested sdkType. For sdkType 'objectivec', a parameter named "classPrefix" is required. For sdkType 'android', parameters named "groupId", "artifactId", "artifactVersion", and "invokerPackage" are required.
-
withParameters
A key-value map of query string parameters that specify properties of the SDK, depending on the requested sdkType. For sdkType 'objectivec', a parameter named "classPrefix" is required. For sdkType 'android', parameters named "groupId", "artifactId", "artifactVersion", and "invokerPackage" are required.
- Parameters:
parameters
- A key-value map of query string parameters that specify properties of the SDK, depending on the requested sdkType. For sdkType 'objectivec', a parameter named "classPrefix" is required. For sdkType 'android', parameters named "groupId", "artifactId", "artifactVersion", and "invokerPackage" are required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addParametersEntry
-
clearParametersEntries
Removes all the entries added into Parameters. <p> Returns a reference to this object so that method calls can be chained together. -
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-