Class ScheduleSummary
- java.lang.Object
-
- software.amazon.awssdk.services.scheduler.model.ScheduleSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScheduleSummary.Builder,ScheduleSummary>
@Generated("software.amazon.awssdk:codegen") public final class ScheduleSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScheduleSummary.Builder,ScheduleSummary>
The details of a schedule.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScheduleSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the schedule.static ScheduleSummary.Builderbuilder()InstantcreationDate()The time at which the schedule was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgroupName()The name of the schedule group associated with this schedule.inthashCode()InstantlastModificationDate()The time at which the schedule was last modified.Stringname()The name of the schedule.List<SdkField<?>>sdkFields()static Class<? extends ScheduleSummary.Builder>serializableBuilderClass()ScheduleStatestate()Specifies whether the schedule is enabled or disabled.StringstateAsString()Specifies whether the schedule is enabled or disabled.TargetSummarytarget()The schedule's target details.ScheduleSummary.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
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the schedule.
- Returns:
- The Amazon Resource Name (ARN) of the schedule.
-
creationDate
public final Instant creationDate()
The time at which the schedule was created.
- Returns:
- The time at which the schedule was created.
-
groupName
public final String groupName()
The name of the schedule group associated with this schedule.
- Returns:
- The name of the schedule group associated with this schedule.
-
lastModificationDate
public final Instant lastModificationDate()
The time at which the schedule was last modified.
- Returns:
- The time at which the schedule was last modified.
-
name
public final String name()
The name of the schedule.
- Returns:
- The name of the schedule.
-
state
public final ScheduleState state()
Specifies whether the schedule is enabled or disabled.
If the service returns an enum value that is not available in the current SDK version,
statewill returnScheduleState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Specifies whether the schedule is enabled or disabled.
- See Also:
ScheduleState
-
stateAsString
public final String stateAsString()
Specifies whether the schedule is enabled or disabled.
If the service returns an enum value that is not available in the current SDK version,
statewill returnScheduleState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Specifies whether the schedule is enabled or disabled.
- See Also:
ScheduleState
-
target
public final TargetSummary target()
The schedule's target details.
- Returns:
- The schedule's target details.
-
toBuilder
public ScheduleSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduleSummary.Builder,ScheduleSummary>
-
builder
public static ScheduleSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ScheduleSummary.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.
-
-