@Generated(value="software.amazon.awssdk:codegen") public final class PutQueryDefinitionRequest extends CloudWatchLogsRequest implements ToCopyableBuilder<PutQueryDefinitionRequest.Builder,PutQueryDefinitionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutQueryDefinitionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutQueryDefinitionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasLogGroupNames()
Returns true if the LogGroupNames property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<String> |
logGroupNames()
Returns the value of the LogGroupNames property for this object.
|
String |
name()
Returns the value of the Name property for this object.
|
String |
queryDefinitionId()
Returns the value of the QueryDefinitionId property for this object.
|
String |
queryString()
Returns the value of the QueryString property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutQueryDefinitionRequest.Builder> |
serializableBuilderClass() |
PutQueryDefinitionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
public String queryDefinitionId()
public boolean hasLogGroupNames()
public List<String> logGroupNames()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasLogGroupNames() to see if a value was sent in this field.
public String queryString()
public PutQueryDefinitionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutQueryDefinitionRequest.Builder,PutQueryDefinitionRequest>toBuilder in class CloudWatchLogsRequestpublic static PutQueryDefinitionRequest.Builder builder()
public static Class<? extends PutQueryDefinitionRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.