Class InterfaceAttachState.Builder

  • Enclosing class:
    InterfaceAttachState

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

      • fixedIp

        public InterfaceAttachState.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 InterfaceAttachState.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 InterfaceAttachState.Builder instanceId​(@Nullable
                                                       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 InterfaceAttachState.Builder instanceId​(java.lang.String instanceId)
        Parameters:
        instanceId - The ID of the Instance to attach the Port or Network to.
        Returns:
        builder
      • networkId

        public InterfaceAttachState.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 InterfaceAttachState.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 InterfaceAttachState.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 InterfaceAttachState.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 InterfaceAttachState.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 InterfaceAttachState.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