Package com.pulumi.gcp.compute.inputs
Class ResourcePolicyState.Builder
- java.lang.Object
-
- com.pulumi.gcp.compute.inputs.ResourcePolicyState.Builder
-
- Enclosing class:
- ResourcePolicyState
public static final class ResourcePolicyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ResourcePolicyState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ResourcePolicyState defaults)
-
-
Method Detail
-
description
public ResourcePolicyState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- An optional description of this resource. Provide this property when you create the resource.- Returns:
- builder
-
description
public ResourcePolicyState.Builder description(java.lang.String description)
- Parameters:
description
- An optional description of this resource. Provide this property when you create the resource.- Returns:
- builder
-
diskConsistencyGroupPolicy
public ResourcePolicyState.Builder diskConsistencyGroupPolicy(@Nullable com.pulumi.core.Output<ResourcePolicyDiskConsistencyGroupPolicyArgs> diskConsistencyGroupPolicy)
- Parameters:
diskConsistencyGroupPolicy
- Replication consistency group for asynchronous disk replication. Structure is documented below.- Returns:
- builder
-
diskConsistencyGroupPolicy
public ResourcePolicyState.Builder diskConsistencyGroupPolicy(ResourcePolicyDiskConsistencyGroupPolicyArgs diskConsistencyGroupPolicy)
- Parameters:
diskConsistencyGroupPolicy
- Replication consistency group for asynchronous disk replication. Structure is documented below.- Returns:
- builder
-
groupPlacementPolicy
public ResourcePolicyState.Builder groupPlacementPolicy(@Nullable com.pulumi.core.Output<ResourcePolicyGroupPlacementPolicyArgs> groupPlacementPolicy)
- Parameters:
groupPlacementPolicy
- Resource policy for instances used for placement configuration. Structure is documented below.- Returns:
- builder
-
groupPlacementPolicy
public ResourcePolicyState.Builder groupPlacementPolicy(ResourcePolicyGroupPlacementPolicyArgs groupPlacementPolicy)
- Parameters:
groupPlacementPolicy
- Resource policy for instances used for placement configuration. Structure is documented below.- Returns:
- builder
-
instanceSchedulePolicy
public ResourcePolicyState.Builder instanceSchedulePolicy(@Nullable com.pulumi.core.Output<ResourcePolicyInstanceSchedulePolicyArgs> instanceSchedulePolicy)
- Parameters:
instanceSchedulePolicy
- Resource policy for scheduling instance operations. Structure is documented below.- Returns:
- builder
-
instanceSchedulePolicy
public ResourcePolicyState.Builder instanceSchedulePolicy(ResourcePolicyInstanceSchedulePolicyArgs instanceSchedulePolicy)
- Parameters:
instanceSchedulePolicy
- Resource policy for scheduling instance operations. Structure is documented below.- Returns:
- builder
-
name
public ResourcePolicyState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z`? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. ***- Returns:
- builder
-
name
public ResourcePolicyState.Builder name(java.lang.String name)
- Parameters:
name
- The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z`? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. ***- Returns:
- builder
-
project
public ResourcePolicyState.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 ResourcePolicyState.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
-
region
public ResourcePolicyState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region
- Region where resource policy resides.- Returns:
- builder
-
region
public ResourcePolicyState.Builder region(java.lang.String region)
- Parameters:
region
- Region where resource policy resides.- Returns:
- builder
-
selfLink
public ResourcePolicyState.Builder selfLink(@Nullable com.pulumi.core.Output<java.lang.String> selfLink)
- Parameters:
selfLink
- The URI of the created resource.- Returns:
- builder
-
selfLink
public ResourcePolicyState.Builder selfLink(java.lang.String selfLink)
- Parameters:
selfLink
- The URI of the created resource.- Returns:
- builder
-
snapshotSchedulePolicy
public ResourcePolicyState.Builder snapshotSchedulePolicy(@Nullable com.pulumi.core.Output<ResourcePolicySnapshotSchedulePolicyArgs> snapshotSchedulePolicy)
- Parameters:
snapshotSchedulePolicy
- Policy for creating snapshots of persistent disks. Structure is documented below.- Returns:
- builder
-
snapshotSchedulePolicy
public ResourcePolicyState.Builder snapshotSchedulePolicy(ResourcePolicySnapshotSchedulePolicyArgs snapshotSchedulePolicy)
- Parameters:
snapshotSchedulePolicy
- Policy for creating snapshots of persistent disks. Structure is documented below.- Returns:
- builder
-
build
public ResourcePolicyState build()
-
-