@Generated(value="software.amazon.awssdk:codegen") public final class Schedule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Schedule.Builder,Schedule>
Represents one or more dates and times when a job is to run.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Schedule.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The ID of the Amazon Web Services account that owns the schedule.
|
static Schedule.Builder |
builder() |
Instant |
createDate()
The date and time that the schedule was created.
|
String |
createdBy()
The Amazon Resource Name (ARN) of the user who created the schedule.
|
String |
cronExpression()
The dates and times when the job is to run.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasJobNames()
For responses, this returns true if the service returned a value for the JobNames property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
List<String> |
jobNames()
A list of jobs to be run, according to the schedule.
|
String |
lastModifiedBy()
The Amazon Resource Name (ARN) of the user who last modified the schedule.
|
Instant |
lastModifiedDate()
The date and time when the schedule was last modified.
|
String |
name()
The name of the schedule.
|
String |
resourceArn()
The Amazon Resource Name (ARN) of the schedule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Schedule.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
Metadata tags that have been applied to the schedule.
|
Schedule.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The ID of the Amazon Web Services account that owns the schedule.
public final String createdBy()
The Amazon Resource Name (ARN) of the user who created the schedule.
public final Instant createDate()
The date and time that the schedule was created.
public final boolean hasJobNames()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> jobNames()
A list of jobs to be run, according to the schedule.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasJobNames() method.
public final String lastModifiedBy()
The Amazon Resource Name (ARN) of the user who last modified the schedule.
public final Instant lastModifiedDate()
The date and time when the schedule was last modified.
public final String resourceArn()
The Amazon Resource Name (ARN) of the schedule.
public final String cronExpression()
The dates and times when the job is to run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
Metadata tags that have been applied to the schedule.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final String name()
The name of the schedule.
public Schedule.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Schedule.Builder,Schedule>public static Schedule.Builder builder()
public static Class<? extends Schedule.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.