Class WindowStartTime.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchservice.WindowStartTime.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WindowStartTime>
- Enclosing interface:
WindowStartTime
@Stability(Stable)
public static final class WindowStartTime.Builder
extends Object
implements software.amazon.jsii.Builder<WindowStartTime>
A builder for
WindowStartTime-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofWindowStartTime.getHours()Sets the value ofWindowStartTime.getMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hours
Sets the value ofWindowStartTime.getHours()- Parameters:
hours- The start hour of the window in Coordinated Universal Time (UTC), using 24-hour time. This parameter is required. For example, 17 refers to 5:00 P.M. UTC.- Returns:
this
-
minutes
Sets the value ofWindowStartTime.getMinutes()- Parameters:
minutes- The start minute of the window, in UTC. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WindowStartTime>- Returns:
- a new instance of
WindowStartTime - Throws:
NullPointerException- if any required attribute was not provided
-