Class EipAssociationArgs.Builder

  • Enclosing class:
    EipAssociationArgs

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

      • allocationId

        public EipAssociationArgs.Builder allocationId​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> allocationId)
        Parameters:
        allocationId - ID of the associated Elastic IP. This argument is required despite being optional at the resource level due to legacy support for EC2-Classic networking.
        Returns:
        builder
      • allocationId

        public EipAssociationArgs.Builder allocationId​(java.lang.String allocationId)
        Parameters:
        allocationId - ID of the associated Elastic IP. This argument is required despite being optional at the resource level due to legacy support for EC2-Classic networking.
        Returns:
        builder
      • allowReassociation

        public EipAssociationArgs.Builder allowReassociation​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> allowReassociation)
        Parameters:
        allowReassociation - Whether to allow an Elastic IP address to be re-associated. Defaults to `true`.
        Returns:
        builder
      • allowReassociation

        public EipAssociationArgs.Builder allowReassociation​(java.lang.Boolean allowReassociation)
        Parameters:
        allowReassociation - Whether to allow an Elastic IP address to be re-associated. Defaults to `true`.
        Returns:
        builder
      • instanceId

        public EipAssociationArgs.Builder instanceId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> instanceId)
        Parameters:
        instanceId - ID of the instance. The instance must have exactly one attached network interface. You can specify either the instance ID or the network interface ID, but not both.
        Returns:
        builder
      • instanceId

        public EipAssociationArgs.Builder instanceId​(java.lang.String instanceId)
        Parameters:
        instanceId - ID of the instance. The instance must have exactly one attached network interface. You can specify either the instance ID or the network interface ID, but not both.
        Returns:
        builder
      • networkInterfaceId

        public EipAssociationArgs.Builder networkInterfaceId​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> networkInterfaceId)
        Parameters:
        networkInterfaceId - ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID. You can specify either the instance ID or the network interface ID, but not both.
        Returns:
        builder
      • networkInterfaceId

        public EipAssociationArgs.Builder networkInterfaceId​(java.lang.String networkInterfaceId)
        Parameters:
        networkInterfaceId - ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID. You can specify either the instance ID or the network interface ID, but not both.
        Returns:
        builder
      • privateIpAddress

        public EipAssociationArgs.Builder privateIpAddress​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> privateIpAddress)
        Parameters:
        privateIpAddress - Primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
        Returns:
        builder
      • privateIpAddress

        public EipAssociationArgs.Builder privateIpAddress​(java.lang.String privateIpAddress)
        Parameters:
        privateIpAddress - Primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
        Returns:
        builder
      • publicIp

        public EipAssociationArgs.Builder publicIp​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> publicIp)
        Parameters:
        publicIp - ) Address of the associated Elastic IP.
        Returns:
        builder
      • publicIp

        public EipAssociationArgs.Builder publicIp​(java.lang.String publicIp)
        Parameters:
        publicIp - ) Address of the associated Elastic IP.
        Returns:
        builder
      • region

        public EipAssociationArgs.Builder region​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public EipAssociationArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder