Class CfnCluster.PatchScheduleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnCluster.PatchScheduleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.PatchScheduleProperty>
- Enclosing interface:
CfnCluster.PatchScheduleProperty
@Stability(Stable)
public static final class CfnCluster.PatchScheduleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.PatchScheduleProperty>
A builder for
CfnCluster.PatchScheduleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.nextPatchDate(String nextPatchDate) Sets the value ofCfnCluster.PatchScheduleProperty.getNextPatchDate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
nextPatchDate
@Stability(Stable) public CfnCluster.PatchScheduleProperty.Builder nextPatchDate(String nextPatchDate) Sets the value ofCfnCluster.PatchScheduleProperty.getNextPatchDate()- Parameters:
nextPatchDate- The date and time of the next scheduled patch, set by the system when a patch AMI is detected.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.PatchScheduleProperty>- Returns:
- a new instance of
CfnCluster.PatchScheduleProperty - Throws:
NullPointerException- if any required attribute was not provided
-