@Generated(value="software.amazon.awssdk:codegen") public final class CreateWorkspaceApiKeyRequest extends GrafanaRequest implements ToCopyableBuilder<CreateWorkspaceApiKeyRequest.Builder,CreateWorkspaceApiKeyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateWorkspaceApiKeyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateWorkspaceApiKeyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keyName()
Specifies the name of the key.
|
String |
keyRole()
Specifies the permission level of the key.
|
List<SdkField<?>> |
sdkFields() |
Integer |
secondsToLive()
Specifies the time in seconds until the key expires.
|
static Class<? extends CreateWorkspaceApiKeyRequest.Builder> |
serializableBuilderClass() |
CreateWorkspaceApiKeyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
workspaceId()
The ID of the workspace to create an API key.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String keyName()
Specifies the name of the key. Keynames must be unique to the workspace.
public final String keyRole()
Specifies the permission level of the key.
Valid values: VIEWER|EDITOR|ADMIN
Valid values: VIEWER|EDITOR|ADMIN
public final Integer secondsToLive()
Specifies the time in seconds until the key expires. Keys can be valid for up to 30 days.
public final String workspaceId()
The ID of the workspace to create an API key.
public CreateWorkspaceApiKeyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateWorkspaceApiKeyRequest.Builder,CreateWorkspaceApiKeyRequest>toBuilder in class GrafanaRequestpublic static CreateWorkspaceApiKeyRequest.Builder builder()
public static Class<? extends CreateWorkspaceApiKeyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic 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 SdkRequestCopyright © 2023. All rights reserved.