Class ComposerEnvironmentConfigMaintenanceWindow.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.composer_environment.ComposerEnvironmentConfigMaintenanceWindow.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComposerEnvironmentConfigMaintenanceWindow>
- Enclosing interface:
- ComposerEnvironmentConfigMaintenanceWindow
@Stability(Stable) public static final class ComposerEnvironmentConfigMaintenanceWindow.Builder extends Object implements software.amazon.jsii.Builder<ComposerEnvironmentConfigMaintenanceWindow>
A builder forComposerEnvironmentConfigMaintenanceWindow
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComposerEnvironmentConfigMaintenanceWindowbuild()Builds the configured instance.ComposerEnvironmentConfigMaintenanceWindow.BuilderendTime(String endTime)Sets the value ofComposerEnvironmentConfigMaintenanceWindow.getEndTime()ComposerEnvironmentConfigMaintenanceWindow.Builderrecurrence(String recurrence)Sets the value ofComposerEnvironmentConfigMaintenanceWindow.getRecurrence()ComposerEnvironmentConfigMaintenanceWindow.BuilderstartTime(String startTime)Sets the value ofComposerEnvironmentConfigMaintenanceWindow.getStartTime()
-
-
-
Method Detail
-
endTime
@Stability(Stable) public ComposerEnvironmentConfigMaintenanceWindow.Builder endTime(String endTime)
Sets the value ofComposerEnvironmentConfigMaintenanceWindow.getEndTime()- Parameters:
endTime- Maintenance window end time. This parameter is required. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to 'start_time'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/composer_environment#end_time ComposerEnvironment#end_time}- Returns:
this
-
recurrence
@Stability(Stable) public ComposerEnvironmentConfigMaintenanceWindow.Builder recurrence(String recurrence)
Sets the value ofComposerEnvironmentConfigMaintenanceWindow.getRecurrence()- Parameters:
recurrence- Maintenance window recurrence. This parameter is required. Format is a subset of RFC-5545 (https://tools.ietf.org/html/rfc5545) 'RRULE'. The only allowed values for 'FREQ' field are 'FREQ=DAILY' and 'FREQ=WEEKLY;BYDAY=...'. Example values: 'FREQ=WEEKLY;BYDAY=TU,WE', 'FREQ=DAILY'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/composer_environment#recurrence ComposerEnvironment#recurrence}- Returns:
this
-
startTime
@Stability(Stable) public ComposerEnvironmentConfigMaintenanceWindow.Builder startTime(String startTime)
Sets the value ofComposerEnvironmentConfigMaintenanceWindow.getStartTime()- Parameters:
startTime- Start time of the first recurrence of the maintenance window. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/composer_environment#start_time ComposerEnvironment#start_time}- Returns:
this
-
build
@Stability(Stable) public ComposerEnvironmentConfigMaintenanceWindow build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComposerEnvironmentConfigMaintenanceWindow>- Returns:
- a new instance of
ComposerEnvironmentConfigMaintenanceWindow - Throws:
NullPointerException- if any required attribute was not provided
-
-