Interface Schedule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Schedule.Builder,Schedule>,SdkBuilder<Schedule.Builder,Schedule>,SdkPojo
- Enclosing class:
- Schedule
public static interface Schedule.Builder extends SdkPojo, CopyableBuilder<Schedule.Builder,Schedule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Schedule.BuilderaccountId(String accountId)The ID of the Amazon Web Services account that owns the schedule.Schedule.BuildercreateDate(Instant createDate)The date and time that the schedule was created.Schedule.BuildercreatedBy(String createdBy)The Amazon Resource Name (ARN) of the user who created the schedule.Schedule.BuildercronExpression(String cronExpression)The dates and times when the job is to run.Schedule.BuilderjobNames(String... jobNames)A list of jobs to be run, according to the schedule.Schedule.BuilderjobNames(Collection<String> jobNames)A list of jobs to be run, according to the schedule.Schedule.BuilderlastModifiedBy(String lastModifiedBy)The Amazon Resource Name (ARN) of the user who last modified the schedule.Schedule.BuilderlastModifiedDate(Instant lastModifiedDate)The date and time when the schedule was last modified.Schedule.Buildername(String name)The name of the schedule.Schedule.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the schedule.Schedule.Buildertags(Map<String,String> tags)Metadata tags that have been applied to the schedule.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
accountId
Schedule.Builder accountId(String accountId)
The ID of the Amazon Web Services account that owns the schedule.
- Parameters:
accountId- The ID of the Amazon Web Services account that owns the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Schedule.Builder createdBy(String createdBy)
The Amazon Resource Name (ARN) of the user who created the schedule.
- Parameters:
createdBy- The Amazon Resource Name (ARN) of the user who created the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createDate
Schedule.Builder createDate(Instant createDate)
The date and time that the schedule was created.
- Parameters:
createDate- The date and time that the schedule was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobNames
Schedule.Builder jobNames(Collection<String> jobNames)
A list of jobs to be run, according to the schedule.
- Parameters:
jobNames- A list of jobs to be run, according to the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobNames
Schedule.Builder jobNames(String... jobNames)
A list of jobs to be run, according to the schedule.
- Parameters:
jobNames- A list of jobs to be run, according to the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
Schedule.Builder lastModifiedBy(String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last modified the schedule.
- Parameters:
lastModifiedBy- The Amazon Resource Name (ARN) of the user who last modified the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
Schedule.Builder lastModifiedDate(Instant lastModifiedDate)
The date and time when the schedule was last modified.
- Parameters:
lastModifiedDate- The date and time when the schedule was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
Schedule.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the schedule.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cronExpression
Schedule.Builder cronExpression(String cronExpression)
The dates and times when the job is to run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.
- Parameters:
cronExpression- The dates and times when the job is to run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Schedule.Builder tags(Map<String,String> tags)
Metadata tags that have been applied to the schedule.
- Parameters:
tags- Metadata tags that have been applied to the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Schedule.Builder name(String name)
The name of the schedule.
- Parameters:
name- The name of the schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-