Class GlobalAddressArgs.Builder

  • Enclosing class:
    GlobalAddressArgs

    public static final class GlobalAddressArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • address

        public GlobalAddressArgs.Builder address​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> address)
        Parameters:
        address - The IP address or beginning of the address range represented by this resource. This can be supplied as an input to reserve a specific address or omitted to allow GCP to choose a valid one for you.
        Returns:
        builder
      • address

        public GlobalAddressArgs.Builder address​(java.lang.String address)
        Parameters:
        address - The IP address or beginning of the address range represented by this resource. This can be supplied as an input to reserve a specific address or omitted to allow GCP to choose a valid one for you.
        Returns:
        builder
      • addressType

        public GlobalAddressArgs.Builder addressType​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> addressType)
        Parameters:
        addressType - The type of the address to reserve. * EXTERNAL indicates public/external single IP address. * INTERNAL indicates internal IP ranges belonging to some network. Default value is `EXTERNAL`. Possible values are: `EXTERNAL`, `INTERNAL`.
        Returns:
        builder
      • addressType

        public GlobalAddressArgs.Builder addressType​(java.lang.String addressType)
        Parameters:
        addressType - The type of the address to reserve. * EXTERNAL indicates public/external single IP address. * INTERNAL indicates internal IP ranges belonging to some network. Default value is `EXTERNAL`. Possible values are: `EXTERNAL`, `INTERNAL`.
        Returns:
        builder
      • description

        public GlobalAddressArgs.Builder description​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - An optional description of this resource.
        Returns:
        builder
      • description

        public GlobalAddressArgs.Builder description​(java.lang.String description)
        Parameters:
        description - An optional description of this resource.
        Returns:
        builder
      • ipVersion

        public GlobalAddressArgs.Builder ipVersion​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> ipVersion)
        Parameters:
        ipVersion - The IP Version that will be used by this address. The default value is `IPV4`. Possible values are: `IPV4`, `IPV6`.
        Returns:
        builder
      • ipVersion

        public GlobalAddressArgs.Builder ipVersion​(java.lang.String ipVersion)
        Parameters:
        ipVersion - The IP Version that will be used by this address. The default value is `IPV4`. Possible values are: `IPV4`, `IPV6`.
        Returns:
        builder
      • labels

        public GlobalAddressArgs.Builder labels​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels)
        Parameters:
        labels - Labels to apply to this address. A list of key->value pairs. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.
        Returns:
        builder
      • labels

        public GlobalAddressArgs.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        labels - Labels to apply to this address. A list of key->value pairs. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.
        Returns:
        builder
      • name

        public GlobalAddressArgs.Builder name​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the resource. Provided by the client when the resource is created. The 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 GlobalAddressArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the resource. Provided by the client when the resource is created. The 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
      • network

        public GlobalAddressArgs.Builder network​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> network)
        Parameters:
        network - The URL of the network in which to reserve the IP range. The IP range must be in RFC1918 space. The network cannot be deleted if there are any reserved IP ranges referring to it. This should only be set when using an Internal address.
        Returns:
        builder
      • network

        public GlobalAddressArgs.Builder network​(java.lang.String network)
        Parameters:
        network - The URL of the network in which to reserve the IP range. The IP range must be in RFC1918 space. The network cannot be deleted if there are any reserved IP ranges referring to it. This should only be set when using an Internal address.
        Returns:
        builder
      • prefixLength

        public GlobalAddressArgs.Builder prefixLength​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Integer> prefixLength)
        Parameters:
        prefixLength - The prefix length of the IP range. If not present, it means the address field is a single IP address. This field is not applicable to addresses with addressType=INTERNAL when purpose=PRIVATE_SERVICE_CONNECT
        Returns:
        builder
      • prefixLength

        public GlobalAddressArgs.Builder prefixLength​(java.lang.Integer prefixLength)
        Parameters:
        prefixLength - The prefix length of the IP range. If not present, it means the address field is a single IP address. This field is not applicable to addresses with addressType=INTERNAL when purpose=PRIVATE_SERVICE_CONNECT
        Returns:
        builder
      • project

        public GlobalAddressArgs.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 GlobalAddressArgs.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
      • purpose

        public GlobalAddressArgs.Builder purpose​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> purpose)
        Parameters:
        purpose - The purpose of the resource. Possible values include: * VPC_PEERING - for peer networks * PRIVATE_SERVICE_CONNECT - for Private Service Connect networks
        Returns:
        builder
      • purpose

        public GlobalAddressArgs.Builder purpose​(java.lang.String purpose)
        Parameters:
        purpose - The purpose of the resource. Possible values include: * VPC_PEERING - for peer networks * PRIVATE_SERVICE_CONNECT - for Private Service Connect networks
        Returns:
        builder