Class InterfaceAttachArgs.Builder

  • Enclosing class:
    InterfaceAttachArgs

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

      • fixedIp

        public InterfaceAttachArgs.Builder fixedIp​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> fixedIp)
        Parameters:
        fixedIp - An IP address to assosciate with the port. _NOTE_: This option cannot be used with port_id. You must specifiy a network_id. The IP address must lie in a range on the supplied network.
        Returns:
        builder
      • fixedIp

        public InterfaceAttachArgs.Builder fixedIp​(java.lang.String fixedIp)
        Parameters:
        fixedIp - An IP address to assosciate with the port. _NOTE_: This option cannot be used with port_id. You must specifiy a network_id. The IP address must lie in a range on the supplied network.
        Returns:
        builder
      • instanceId

        public InterfaceAttachArgs.Builder instanceId​(com.pulumi.core.Output<java.lang.String> instanceId)
        Parameters:
        instanceId - The ID of the Instance to attach the Port or Network to.
        Returns:
        builder
      • instanceId

        public InterfaceAttachArgs.Builder instanceId​(java.lang.String instanceId)
        Parameters:
        instanceId - The ID of the Instance to attach the Port or Network to.
        Returns:
        builder
      • networkId

        public InterfaceAttachArgs.Builder networkId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> networkId)
        Parameters:
        networkId - The ID of the Network to attach to an Instance. A port will be created automatically. _NOTE_: This option and `port_id` are mutually exclusive.
        Returns:
        builder
      • networkId

        public InterfaceAttachArgs.Builder networkId​(java.lang.String networkId)
        Parameters:
        networkId - The ID of the Network to attach to an Instance. A port will be created automatically. _NOTE_: This option and `port_id` are mutually exclusive.
        Returns:
        builder
      • portId

        public InterfaceAttachArgs.Builder portId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> portId)
        Parameters:
        portId - The ID of the Port to attach to an Instance. _NOTE_: This option and `network_id` are mutually exclusive.
        Returns:
        builder
      • portId

        public InterfaceAttachArgs.Builder portId​(java.lang.String portId)
        Parameters:
        portId - The ID of the Port to attach to an Instance. _NOTE_: This option and `network_id` are mutually exclusive.
        Returns:
        builder
      • region

        public InterfaceAttachArgs.Builder region​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - The region in which to create the interface attachment. If omitted, the `region` argument of the provider is used. Changing this creates a new attachment.
        Returns:
        builder
      • region

        public InterfaceAttachArgs.Builder region​(java.lang.String region)
        Parameters:
        region - The region in which to create the interface attachment. If omitted, the `region` argument of the provider is used. Changing this creates a new attachment.
        Returns:
        builder