public class GetSdkRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.lang.String> |
parameters
A key-value map of query string parameters that specify properties of the
SDK, depending on the requested sdkType.
|
private java.lang.String |
restApiId
The identifier of the RestApi that the SDK will use.
|
private java.lang.String |
sdkType
The language for the generated SDK.
|
private java.lang.String |
stageName
The name of the Stage that the SDK will use.
|
NOOP
Constructor and Description |
---|
GetSdkRequest() |
Modifier and Type | Method and Description |
---|---|
GetSdkRequest |
addParametersEntry(java.lang.String key,
java.lang.String value) |
GetSdkRequest |
clearParametersEntries()
Removes all the entries added into Parameters.
|
GetSdkRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.String> |
getParameters()
A key-value map of query string parameters that specify properties of the
SDK, depending on the requested sdkType.
|
java.lang.String |
getRestApiId()
The identifier of the RestApi that the SDK will use.
|
java.lang.String |
getSdkType()
The language for the generated SDK.
|
java.lang.String |
getStageName()
The name of the Stage that the SDK will use.
|
int |
hashCode() |
void |
setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
A key-value map of query string parameters that specify properties of the
SDK, depending on the requested sdkType.
|
void |
setRestApiId(java.lang.String restApiId)
The identifier of the RestApi that the SDK will use.
|
void |
setSdkType(java.lang.String sdkType)
The language for the generated SDK.
|
void |
setStageName(java.lang.String stageName)
The name of the Stage that the SDK will use.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetSdkRequest |
withParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
A key-value map of query string parameters that specify properties of the
SDK, depending on the requested sdkType.
|
GetSdkRequest |
withRestApiId(java.lang.String restApiId)
The identifier of the RestApi that the SDK will use.
|
GetSdkRequest |
withSdkType(java.lang.String sdkType)
The language for the generated SDK.
|
GetSdkRequest |
withStageName(java.lang.String stageName)
The name of the Stage that the SDK will use.
|
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
private java.lang.String restApiId
The identifier of the RestApi that the SDK will use.
private java.lang.String stageName
The name of the Stage that the SDK will use.
private java.lang.String sdkType
The language for the generated SDK. Currently javascript, android, and objectivec (for iOS) are supported.
private java.util.Map<java.lang.String,java.lang.String> 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.
public void setRestApiId(java.lang.String restApiId)
The identifier of the RestApi that the SDK will use.
restApiId
- The identifier of the RestApi that the SDK will use.public java.lang.String getRestApiId()
The identifier of the RestApi that the SDK will use.
public GetSdkRequest withRestApiId(java.lang.String restApiId)
The identifier of the RestApi that the SDK will use.
restApiId
- The identifier of the RestApi that the SDK will use.public void setStageName(java.lang.String stageName)
The name of the Stage that the SDK will use.
stageName
- The name of the Stage that the SDK will use.public java.lang.String getStageName()
The name of the Stage that the SDK will use.
public GetSdkRequest withStageName(java.lang.String stageName)
The name of the Stage that the SDK will use.
stageName
- The name of the Stage that the SDK will use.public void setSdkType(java.lang.String sdkType)
The language for the generated SDK. Currently javascript, android, and objectivec (for iOS) are supported.
sdkType
- The language for the generated SDK. Currently javascript, android,
and objectivec (for iOS) are supported.public java.lang.String getSdkType()
The language for the generated SDK. Currently javascript, android, and objectivec (for iOS) are supported.
public GetSdkRequest withSdkType(java.lang.String sdkType)
The language for the generated SDK. Currently javascript, android, and objectivec (for iOS) are supported.
sdkType
- The language for the generated SDK. Currently javascript, android,
and objectivec (for iOS) are supported.public java.util.Map<java.lang.String,java.lang.String> 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.
public void setParameters(java.util.Map<java.lang.String,java.lang.String> 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.
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.public GetSdkRequest withParameters(java.util.Map<java.lang.String,java.lang.String> 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.
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.public GetSdkRequest addParametersEntry(java.lang.String key, java.lang.String value)
public GetSdkRequest clearParametersEntries()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetSdkRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()