Class ScheduledQueryDestination
- java.lang.Object
-
- software.amazon.awssdk.services.cloudwatchlogs.model.ScheduledQueryDestination
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScheduledQueryDestination.Builder,ScheduledQueryDestination>
@Generated("software.amazon.awssdk:codegen") public final class ScheduledQueryDestination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScheduledQueryDestination.Builder,ScheduledQueryDestination>
Information about a destination where scheduled query results are processed, including processing status and any error messages.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScheduledQueryDestination.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScheduledQueryDestination.Builderbuilder()StringdestinationIdentifier()The identifier for the destination where results are delivered.ScheduledQueryDestinationTypedestinationType()The type of destination for query results.StringdestinationTypeAsString()The type of destination for query results.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorMessage()Error message if destination processing failed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringprocessedIdentifier()The identifier of the processed result at the destination.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ScheduledQueryDestination.Builder>serializableBuilderClass()ActionStatusstatus()The processing status of the destination delivery.StringstatusAsString()The processing status of the destination delivery.ScheduledQueryDestination.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
destinationType
public final ScheduledQueryDestinationType destinationType()
The type of destination for query results.
If the service returns an enum value that is not available in the current SDK version,
destinationTypewill returnScheduledQueryDestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationTypeAsString().- Returns:
- The type of destination for query results.
- See Also:
ScheduledQueryDestinationType
-
destinationTypeAsString
public final String destinationTypeAsString()
The type of destination for query results.
If the service returns an enum value that is not available in the current SDK version,
destinationTypewill returnScheduledQueryDestinationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationTypeAsString().- Returns:
- The type of destination for query results.
- See Also:
ScheduledQueryDestinationType
-
destinationIdentifier
public final String destinationIdentifier()
The identifier for the destination where results are delivered.
- Returns:
- The identifier for the destination where results are delivered.
-
status
public final ActionStatus status()
The processing status of the destination delivery.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnActionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The processing status of the destination delivery.
- See Also:
ActionStatus
-
statusAsString
public final String statusAsString()
The processing status of the destination delivery.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnActionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The processing status of the destination delivery.
- See Also:
ActionStatus
-
processedIdentifier
public final String processedIdentifier()
The identifier of the processed result at the destination.
- Returns:
- The identifier of the processed result at the destination.
-
errorMessage
public final String errorMessage()
Error message if destination processing failed.
- Returns:
- Error message if destination processing failed.
-
toBuilder
public ScheduledQueryDestination.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduledQueryDestination.Builder,ScheduledQueryDestination>
-
builder
public static ScheduledQueryDestination.Builder builder()
-
serializableBuilderClass
public static Class<? extends ScheduledQueryDestination.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-