@Generated(value="software.amazon.awssdk:codegen") public final class CreateNamedQueryRequest extends AthenaRequest implements ToCopyableBuilder<CreateNamedQueryRequest.Builder,CreateNamedQueryRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateNamedQueryRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateNamedQueryRequest.Builder |
builder() |
String |
clientRequestToken()
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once).
|
String |
database()
The database to which the query belongs.
|
String |
description()
The query description.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The query name.
|
String |
queryString()
The contents of the query with all query statements.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateNamedQueryRequest.Builder> |
serializableBuilderClass() |
CreateNamedQueryRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
workGroup()
The name of the workgroup in which the named query is being created.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The query name.
public final String description()
The query description.
public final String database()
The database to which the query belongs.
public final String queryString()
The contents of the query with all query statements.
public final String clientRequestToken()
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once).
If another CreateNamedQuery request is received, the same response is returned and another query is
not created. If a parameter has changed, for example, the QueryString, an error is returned.
This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
CreateNamedQuery request is received, the same response is returned
and another query is not created. If a parameter has changed, for example, the QueryString,
an error is returned. This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
public final String workGroup()
The name of the workgroup in which the named query is being created.
public CreateNamedQueryRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateNamedQueryRequest.Builder,CreateNamedQueryRequest>toBuilder in class AthenaRequestpublic static CreateNamedQueryRequest.Builder builder()
public static Class<? extends CreateNamedQueryRequest.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.