Interface SchedulePeriod.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SchedulePeriod.Builder,,SchedulePeriod> SdkBuilder<SchedulePeriod.Builder,,SchedulePeriod> SdkPojo
- Enclosing class:
SchedulePeriod
@Mutable
@NotThreadSafe
public static interface SchedulePeriod.Builder
extends SdkPojo, CopyableBuilder<SchedulePeriod.Builder,SchedulePeriod>
-
Method Summary
Modifier and TypeMethodDescriptionThe end time of the schedule period.The start time of the schedule period.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
startTime
The start time of the schedule period. If not specified, defaults to the time of the create or update request. The start time cannot be more than 5 minutes before the time of the request.
- Parameters:
startTime- The start time of the schedule period. If not specified, defaults to the time of the create or update request. The start time cannot be more than 5 minutes before the time of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time of the schedule period. If not specified, defaults to 3 years from the time of the create or update request. The maximum allowed value is 3 years from the current time. Setting an end time beyond this limit returns a
ValidationException.- Parameters:
endTime- The end time of the schedule period. If not specified, defaults to 3 years from the time of the create or update request. The maximum allowed value is 3 years from the current time. Setting an end time beyond this limit returns aValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-