Class LustreMaintenanceTimeProps.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.LustreMaintenanceTimeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LustreMaintenanceTimeProps>
- Enclosing interface:
LustreMaintenanceTimeProps
@Stability(Stable)
public static final class LustreMaintenanceTimeProps.Builder
extends Object
implements software.amazon.jsii.Builder<LustreMaintenanceTimeProps>
A builder for
LustreMaintenanceTimeProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofLustreMaintenanceTimeProps.getDay()
Sets the value ofLustreMaintenanceTimeProps.getHour()
Sets the value ofLustreMaintenanceTimeProps.getMinute()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
day
Sets the value ofLustreMaintenanceTimeProps.getDay()
- Parameters:
day
- The day of the week for maintenance to be performed. This parameter is required.- Returns:
this
-
hour
Sets the value ofLustreMaintenanceTimeProps.getHour()
- Parameters:
hour
- The hour of the day (from 0-23) for maintenance to be performed. This parameter is required.- Returns:
this
-
minute
Sets the value ofLustreMaintenanceTimeProps.getMinute()
- Parameters:
minute
- The minute of the hour (from 0-59) for maintenance to be performed. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<LustreMaintenanceTimeProps>
- Returns:
- a new instance of
LustreMaintenanceTimeProps
- Throws:
NullPointerException
- if any required attribute was not provided
-