Class ResourcePolicyState.Builder

  • Enclosing class:
    ResourcePolicyState

    public static final class ResourcePolicyState.Builder
    extends java.lang.Object
    • 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
      • 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
      • 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