public static class ScheduledPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ScheduledPolicy |
build() |
ScheduledPolicy.Builder |
capacity(Capacity capacity) |
ScheduledPolicy.Builder |
copy(ScheduledPolicy model) |
ScheduledPolicy.Builder |
displayName(String displayName) |
ScheduledPolicy.Builder |
executionSchedule(ExecutionSchedule executionSchedule)
The schedule for executing the autoscaling policy.
|
ScheduledPolicy.Builder |
id(String id) |
ScheduledPolicy.Builder |
isEnabled(Boolean isEnabled) |
ScheduledPolicy.Builder |
resourceAction(ResourceAction resourceAction) |
ScheduledPolicy.Builder |
timeCreated(Date timeCreated) |
public ScheduledPolicy.Builder capacity(Capacity capacity)
public ScheduledPolicy.Builder id(String id)
public ScheduledPolicy.Builder displayName(String displayName)
public ScheduledPolicy.Builder timeCreated(Date timeCreated)
public ScheduledPolicy.Builder isEnabled(Boolean isEnabled)
public ScheduledPolicy.Builder executionSchedule(ExecutionSchedule executionSchedule)
The schedule for executing the autoscaling policy.
executionSchedule
- the value to setpublic ScheduledPolicy.Builder resourceAction(ResourceAction resourceAction)
public ScheduledPolicy build()
public ScheduledPolicy.Builder copy(ScheduledPolicy model)
Copyright © 2016–2024. All rights reserved.