@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetApiKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to get information about the current ApiKey resource.
NOOP
Constructor and Description |
---|
GetApiKeyRequest() |
Modifier and Type | Method and Description |
---|---|
GetApiKeyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApiKey()
The identifier of the ApiKey resource.
|
Boolean |
getIncludeValue()
A boolean flag to specify whether (
true ) or not (false ) the result contains the key
value. |
int |
hashCode() |
Boolean |
isIncludeValue()
A boolean flag to specify whether (
true ) or not (false ) the result contains the key
value. |
void |
setApiKey(String apiKey)
The identifier of the ApiKey resource.
|
void |
setIncludeValue(Boolean includeValue)
A boolean flag to specify whether (
true ) or not (false ) the result contains the key
value. |
String |
toString()
Returns a string representation of this object.
|
GetApiKeyRequest |
withApiKey(String apiKey)
The identifier of the ApiKey resource.
|
GetApiKeyRequest |
withIncludeValue(Boolean includeValue)
A boolean flag to specify whether (
true ) or not (false ) the result contains the key
value. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApiKey(String apiKey)
The identifier of the ApiKey resource.
apiKey
- The identifier of the ApiKey resource.public String getApiKey()
The identifier of the ApiKey resource.
public GetApiKeyRequest withApiKey(String apiKey)
The identifier of the ApiKey resource.
apiKey
- The identifier of the ApiKey resource.public void setIncludeValue(Boolean includeValue)
A boolean flag to specify whether (true
) or not (false
) the result contains the key
value.
includeValue
- A boolean flag to specify whether (true
) or not (false
) the result contains the
key value.public Boolean getIncludeValue()
A boolean flag to specify whether (true
) or not (false
) the result contains the key
value.
true
) or not (false
) the result contains the
key value.public GetApiKeyRequest withIncludeValue(Boolean includeValue)
A boolean flag to specify whether (true
) or not (false
) the result contains the key
value.
includeValue
- A boolean flag to specify whether (true
) or not (false
) the result contains the
key value.public Boolean isIncludeValue()
A boolean flag to specify whether (true
) or not (false
) the result contains the key
value.
true
) or not (false
) the result contains the
key value.public String toString()
toString
in class Object
Object.toString()
public GetApiKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()