Adding Tier.
This commit is contained in:
parent
c071e5ca62
commit
133938b307
1 changed files with 6 additions and 0 deletions
6
job.go
6
job.go
|
@ -134,6 +134,12 @@ func (j *AuroraJob) Disk(disk int64) *AuroraJob {
|
|||
return j
|
||||
}
|
||||
|
||||
func (j *AuroraJob) Tier(tier string) *AuroraJob {
|
||||
*j.jobConfig.TaskConfig.Tier = tier
|
||||
|
||||
return j
|
||||
}
|
||||
|
||||
// How many failures to tolerate before giving up.
|
||||
func (j *AuroraJob) MaxFailure(maxFail int32) *AuroraJob {
|
||||
j.jobConfig.TaskConfig.MaxTaskFailures = maxFail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue