@Generated(value="software.amazon.awssdk:codegen") public final class CreateWorkspaceApiKeyResponse extends GrafanaResponse implements ToCopyableBuilder<CreateWorkspaceApiKeyResponse.Builder,CreateWorkspaceApiKeyResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateWorkspaceApiKeyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateWorkspaceApiKeyResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The key token.
|
String |
keyName()
The name of the key that was created.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateWorkspaceApiKeyResponse.Builder> |
serializableBuilderClass() |
CreateWorkspaceApiKeyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
workspaceId()
The ID of the workspace that the key is valid for.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String key()
The key token. Use this value as a bearer token to authenticate HTTP requests to the workspace.
public final String keyName()
The name of the key that was created.
public final String workspaceId()
The ID of the workspace that the key is valid for.
public CreateWorkspaceApiKeyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateWorkspaceApiKeyResponse.Builder,CreateWorkspaceApiKeyResponse>toBuilder in class AwsResponsepublic static CreateWorkspaceApiKeyResponse.Builder builder()
public static Class<? extends CreateWorkspaceApiKeyResponse.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.