Package com.pulumi.gcp.osconfig
Class PatchDeploymentArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.osconfig.PatchDeploymentArgs.Builder
-
- Enclosing class:
- PatchDeploymentArgs
public static final class PatchDeploymentArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(PatchDeploymentArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PatchDeploymentArgs defaults)
-
-
Method Detail
-
description
public PatchDeploymentArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- Description of the patch deployment. Length of the description is limited to 1024 characters.- Returns:
- builder
-
description
public PatchDeploymentArgs.Builder description(java.lang.String description)
- Parameters:
description
- Description of the patch deployment. Length of the description is limited to 1024 characters.- Returns:
- builder
-
duration
public PatchDeploymentArgs.Builder duration(@Nullable com.pulumi.core.Output<java.lang.String> duration)
- Parameters:
duration
- Duration of the patch. After the duration ends, the patch times out. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s"- Returns:
- builder
-
duration
public PatchDeploymentArgs.Builder duration(java.lang.String duration)
- Parameters:
duration
- Duration of the patch. After the duration ends, the patch times out. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s"- Returns:
- builder
-
instanceFilter
public PatchDeploymentArgs.Builder instanceFilter(com.pulumi.core.Output<PatchDeploymentInstanceFilterArgs> instanceFilter)
- Parameters:
instanceFilter
- VM instances to patch. Structure is documented below.- Returns:
- builder
-
instanceFilter
public PatchDeploymentArgs.Builder instanceFilter(PatchDeploymentInstanceFilterArgs instanceFilter)
- Parameters:
instanceFilter
- VM instances to patch. Structure is documented below.- Returns:
- builder
-
oneTimeSchedule
public PatchDeploymentArgs.Builder oneTimeSchedule(@Nullable com.pulumi.core.Output<PatchDeploymentOneTimeScheduleArgs> oneTimeSchedule)
- Parameters:
oneTimeSchedule
- Schedule a one-time execution. Structure is documented below.- Returns:
- builder
-
oneTimeSchedule
public PatchDeploymentArgs.Builder oneTimeSchedule(PatchDeploymentOneTimeScheduleArgs oneTimeSchedule)
- Parameters:
oneTimeSchedule
- Schedule a one-time execution. Structure is documented below.- Returns:
- builder
-
patchConfig
public PatchDeploymentArgs.Builder patchConfig(@Nullable com.pulumi.core.Output<PatchDeploymentPatchConfigArgs> patchConfig)
- Parameters:
patchConfig
- Patch configuration that is applied. Structure is documented below.- Returns:
- builder
-
patchConfig
public PatchDeploymentArgs.Builder patchConfig(PatchDeploymentPatchConfigArgs patchConfig)
- Parameters:
patchConfig
- Patch configuration that is applied. Structure is documented below.- Returns:
- builder
-
patchDeploymentId
public PatchDeploymentArgs.Builder patchDeploymentId(com.pulumi.core.Output<java.lang.String> patchDeploymentId)
- Parameters:
patchDeploymentId
- A name for the patch deployment in the project. When creating a name the following rules apply: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.- Returns:
- builder
-
patchDeploymentId
public PatchDeploymentArgs.Builder patchDeploymentId(java.lang.String patchDeploymentId)
- Parameters:
patchDeploymentId
- A name for the patch deployment in the project. When creating a name the following rules apply: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the project.- Returns:
- builder
-
project
public PatchDeploymentArgs.Builder project(@Nullable com.pulumi.core.Output<java.lang.String> project)
- Parameters:
project
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.- Returns:
- builder
-
project
public PatchDeploymentArgs.Builder project(java.lang.String project)
- Parameters:
project
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.- Returns:
- builder
-
recurringSchedule
public PatchDeploymentArgs.Builder recurringSchedule(@Nullable com.pulumi.core.Output<PatchDeploymentRecurringScheduleArgs> recurringSchedule)
- Parameters:
recurringSchedule
- Schedule recurring executions. Structure is documented below.- Returns:
- builder
-
recurringSchedule
public PatchDeploymentArgs.Builder recurringSchedule(PatchDeploymentRecurringScheduleArgs recurringSchedule)
- Parameters:
recurringSchedule
- Schedule recurring executions. Structure is documented below.- Returns:
- builder
-
rollout
public PatchDeploymentArgs.Builder rollout(@Nullable com.pulumi.core.Output<PatchDeploymentRolloutArgs> rollout)
- Parameters:
rollout
- Rollout strategy of the patch job. Structure is documented below.- Returns:
- builder
-
rollout
public PatchDeploymentArgs.Builder rollout(PatchDeploymentRolloutArgs rollout)
- Parameters:
rollout
- Rollout strategy of the patch job. Structure is documented below.- Returns:
- builder
-
build
public PatchDeploymentArgs build()
-
-