@Generated(value="software.amazon.awssdk:codegen") public final class CreateKeyResponse extends LocationResponse implements ToCopyableBuilder<CreateKeyResponse.Builder,CreateKeyResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateKeyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateKeyResponse.Builder |
builder() |
Instant |
createTime()
The timestamp for when the API key resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The key value/string of an API key.
|
String |
keyArn()
The Amazon Resource Name (ARN) for the API key resource.
|
String |
keyName()
The name of the API key resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateKeyResponse.Builder> |
serializableBuilderClass() |
CreateKeyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant createTime()
The timestamp for when the API key resource was created in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
YYYY-MM-DDThh:mm:ss.sssZ.public final String key()
The key value/string of an API key. This value is used when making API calls to authorize the call. For example, see GetMapGlyphs.
public final String keyArn()
The Amazon Resource Name (ARN) for the API key resource. Used when you need to specify a resource across all Amazon Web Services.
Format example: arn:aws:geo:region:account-id:key/ExampleKey
Format example: arn:aws:geo:region:account-id:key/ExampleKey
public final String keyName()
The name of the API key resource.
public CreateKeyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateKeyResponse.Builder,CreateKeyResponse>toBuilder in class AwsResponsepublic static CreateKeyResponse.Builder builder()
public static Class<? extends CreateKeyResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.