Class ResourcePolicyArgs.Builder

  • Enclosing class:
    ResourcePolicyArgs

    public static final class ResourcePolicyArgs.Builder
    extends java.lang.Object
    • Method Detail

      • description

        public ResourcePolicyArgs.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 ResourcePolicyArgs.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 ResourcePolicyArgs.Builder diskConsistencyGroupPolicy​(@Nullable
                                                                     com.pulumi.core.Output<ResourcePolicyDiskConsistencyGroupPolicyArgs> diskConsistencyGroupPolicy)
        Parameters:
        diskConsistencyGroupPolicy - Replication consistency group for asynchronous disk replication. Structure is documented below.
        Returns:
        builder
      • groupPlacementPolicy

        public ResourcePolicyArgs.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
      • name

        public ResourcePolicyArgs.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 ResourcePolicyArgs.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 ResourcePolicyArgs.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 ResourcePolicyArgs.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 ResourcePolicyArgs.Builder region​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where resource policy resides.
        Returns:
        builder
      • region

        public ResourcePolicyArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where resource policy resides.
        Returns:
        builder