Class EipAssociationArgs.Builder

  • Enclosing class:
    EipAssociationArgs

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

      • allocationId

        public EipAssociationArgs.Builder allocationId​(com.pulumi.core.Output<java.lang.String> allocationId)
        Parameters:
        allocationId - The allocation EIP ID.
        Returns:
        builder
      • allocationId

        public EipAssociationArgs.Builder allocationId​(java.lang.String allocationId)
        Parameters:
        allocationId - The allocation EIP ID.
        Returns:
        builder
      • force

        public EipAssociationArgs.Builder force​(@Nullable
                                                com.pulumi.core.Output<java.lang.Boolean> force)
        Parameters:
        force - When EIP is bound to a NAT gateway, and the NAT gateway adds a DNAT or SNAT entry, set it for `true` can unassociation any way. Default to `false`.
        Returns:
        builder
      • force

        public EipAssociationArgs.Builder force​(java.lang.Boolean force)
        Parameters:
        force - When EIP is bound to a NAT gateway, and the NAT gateway adds a DNAT or SNAT entry, set it for `true` can unassociation any way. Default to `false`.
        Returns:
        builder
      • instanceId

        public EipAssociationArgs.Builder instanceId​(com.pulumi.core.Output<java.lang.String> instanceId)
        Parameters:
        instanceId - The ID of the ECS or SLB instance or Nat Gateway or NetworkInterface or HaVip.
        Returns:
        builder
      • instanceId

        public EipAssociationArgs.Builder instanceId​(java.lang.String instanceId)
        Parameters:
        instanceId - The ID of the ECS or SLB instance or Nat Gateway or NetworkInterface or HaVip.
        Returns:
        builder
      • instanceType

        public EipAssociationArgs.Builder instanceType​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> instanceType)
        Parameters:
        instanceType - The type of cloud product that the eip instance to bind. Valid values: `EcsInstance`, `SlbInstance`, `Nat`, `NetworkInterface`, `HaVip` and `IpAddress`.
        Returns:
        builder
      • instanceType

        public EipAssociationArgs.Builder instanceType​(java.lang.String instanceType)
        Parameters:
        instanceType - The type of cloud product that the eip instance to bind. Valid values: `EcsInstance`, `SlbInstance`, `Nat`, `NetworkInterface`, `HaVip` and `IpAddress`.
        Returns:
        builder
      • privateIpAddress

        public EipAssociationArgs.Builder privateIpAddress​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> privateIpAddress)
        Parameters:
        privateIpAddress - The private IP address in the network segment of the vswitch which has been assigned.
        Returns:
        builder
      • privateIpAddress

        public EipAssociationArgs.Builder privateIpAddress​(java.lang.String privateIpAddress)
        Parameters:
        privateIpAddress - The private IP address in the network segment of the vswitch which has been assigned.
        Returns:
        builder
      • vpcId

        public EipAssociationArgs.Builder vpcId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> vpcId)
        Parameters:
        vpcId - The ID of the VPC that has IPv4 gateways enabled and that is deployed in the same region as the EIP. When you associate an EIP with an IP address, the system can enable the IP address to access the Internet based on VPC route configurations. **Note:** This parameter is required if `instance_type` is set to IpAddress. In this case, the EIP is associated with an IP address.
        Returns:
        builder
      • vpcId

        public EipAssociationArgs.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - The ID of the VPC that has IPv4 gateways enabled and that is deployed in the same region as the EIP. When you associate an EIP with an IP address, the system can enable the IP address to access the Internet based on VPC route configurations. **Note:** This parameter is required if `instance_type` is set to IpAddress. In this case, the EIP is associated with an IP address.
        Returns:
        builder