Class EipAssociationState.Builder

  • Enclosing class:
    EipAssociationState

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

      • allocationId

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

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

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