Class ListScheduledQueriesRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<ListScheduledQueriesRequest.Builder,ListScheduledQueriesRequest>

@Generated("software.amazon.awssdk:codegen") public final class ListScheduledQueriesRequest extends CloudWatchLogsRequest implements ToCopyableBuilder<ListScheduledQueriesRequest.Builder,ListScheduledQueriesRequest>
  • Method Details

    • maxResults

      public final Integer maxResults()

      The maximum number of scheduled queries to return. Valid range is 1 to 1000.

      Returns:
      The maximum number of scheduled queries to return. Valid range is 1 to 1000.
    • nextToken

      public final String nextToken()
      Returns the value of the NextToken property for this object.
      Returns:
      The value of the NextToken property for this object.
    • state

      public final ScheduledQueryState state()

      Filter scheduled queries by state. Valid values are ENABLED and DISABLED. If not specified, all scheduled queries are returned.

      If the service returns an enum value that is not available in the current SDK version, state will return ScheduledQueryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stateAsString().

      Returns:
      Filter scheduled queries by state. Valid values are ENABLED and DISABLED. If not specified, all scheduled queries are returned.
      See Also:
    • stateAsString

      public final String stateAsString()

      Filter scheduled queries by state. Valid values are ENABLED and DISABLED. If not specified, all scheduled queries are returned.

      If the service returns an enum value that is not available in the current SDK version, state will return ScheduledQueryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stateAsString().

      Returns:
      Filter scheduled queries by state. Valid values are ENABLED and DISABLED. If not specified, all scheduled queries are returned.
      See Also:
    • scheduleType

      public final ScheduleType scheduleType()

      Filter scheduled queries by schedule type. Valid values are CUSTOMER_MANAGED and AWS_MANAGED. If not specified, scheduled queries of all schedule types are returned.

      If the service returns an enum value that is not available in the current SDK version, scheduleType will return ScheduleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from scheduleTypeAsString().

      Returns:
      Filter scheduled queries by schedule type. Valid values are CUSTOMER_MANAGED and AWS_MANAGED. If not specified, scheduled queries of all schedule types are returned.
      See Also:
    • scheduleTypeAsString

      public final String scheduleTypeAsString()

      Filter scheduled queries by schedule type. Valid values are CUSTOMER_MANAGED and AWS_MANAGED. If not specified, scheduled queries of all schedule types are returned.

      If the service returns an enum value that is not available in the current SDK version, scheduleType will return ScheduleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from scheduleTypeAsString().

      Returns:
      Filter scheduled queries by schedule type. Valid values are CUSTOMER_MANAGED and AWS_MANAGED. If not specified, scheduled queries of all schedule types are returned.
      See Also:
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<ListScheduledQueriesRequest.Builder,ListScheduledQueriesRequest>
      Specified by:
      toBuilder in class CloudWatchLogsRequest
    • builder

      public static ListScheduledQueriesRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ListScheduledQueriesRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo