Class EipArgs.Builder

  • Enclosing class:
    EipArgs

    public static final class EipArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
      • Builder

        public Builder​(EipArgs defaults)
    • Method Detail

      • address

        public EipArgs.Builder address​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> address)
        Parameters:
        address - IP address from an EC2 BYOIP pool. This option is only available for VPC EIPs.
        Returns:
        builder
      • address

        public EipArgs.Builder address​(java.lang.String address)
        Parameters:
        address - IP address from an EC2 BYOIP pool. This option is only available for VPC EIPs.
        Returns:
        builder
      • associateWithPrivateIp

        public EipArgs.Builder associateWithPrivateIp​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> associateWithPrivateIp)
        Parameters:
        associateWithPrivateIp - User-specified 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
      • associateWithPrivateIp

        public EipArgs.Builder associateWithPrivateIp​(java.lang.String associateWithPrivateIp)
        Parameters:
        associateWithPrivateIp - User-specified 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
      • customerOwnedIpv4Pool

        public EipArgs.Builder customerOwnedIpv4Pool​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> customerOwnedIpv4Pool)
        Parameters:
        customerOwnedIpv4Pool - ID of a customer-owned address pool. For more on customer owned IP addressed check out [Customer-owned IP addresses guide](https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing).
        Returns:
        builder
      • customerOwnedIpv4Pool

        public EipArgs.Builder customerOwnedIpv4Pool​(java.lang.String customerOwnedIpv4Pool)
        Parameters:
        customerOwnedIpv4Pool - ID of a customer-owned address pool. For more on customer owned IP addressed check out [Customer-owned IP addresses guide](https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing).
        Returns:
        builder
      • domain

        public EipArgs.Builder domain​(@Nullable
                                      com.pulumi.core.Output<java.lang.String> domain)
        Parameters:
        domain - Indicates if this EIP is for use in VPC (`vpc`).
        Returns:
        builder
      • domain

        public EipArgs.Builder domain​(java.lang.String domain)
        Parameters:
        domain - Indicates if this EIP is for use in VPC (`vpc`).
        Returns:
        builder
      • instance

        public EipArgs.Builder instance​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> instance)
        Parameters:
        instance - EC2 instance ID.
        Returns:
        builder
      • instance

        public EipArgs.Builder instance​(java.lang.String instance)
        Parameters:
        instance - EC2 instance ID.
        Returns:
        builder
      • ipamPoolId

        public EipArgs.Builder ipamPoolId​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> ipamPoolId)
        Parameters:
        ipamPoolId - The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it.
        Returns:
        builder
      • ipamPoolId

        public EipArgs.Builder ipamPoolId​(java.lang.String ipamPoolId)
        Parameters:
        ipamPoolId - The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it.
        Returns:
        builder
      • networkBorderGroup

        public EipArgs.Builder networkBorderGroup​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> networkBorderGroup)
        Parameters:
        networkBorderGroup - Location from which the IP address is advertised. Use this parameter to limit the address to this location.
        Returns:
        builder
      • networkBorderGroup

        public EipArgs.Builder networkBorderGroup​(java.lang.String networkBorderGroup)
        Parameters:
        networkBorderGroup - Location from which the IP address is advertised. Use this parameter to limit the address to this location.
        Returns:
        builder
      • networkInterface

        public EipArgs.Builder networkInterface​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> networkInterface)
        Parameters:
        networkInterface - Network interface ID to associate with.
        Returns:
        builder
      • networkInterface

        public EipArgs.Builder networkInterface​(java.lang.String networkInterface)
        Parameters:
        networkInterface - Network interface ID to associate with.
        Returns:
        builder
      • publicIpv4Pool

        public EipArgs.Builder publicIpv4Pool​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> publicIpv4Pool)
        Parameters:
        publicIpv4Pool - EC2 IPv4 address pool identifier or `amazon`. This option is only available for VPC EIPs.
        Returns:
        builder
      • publicIpv4Pool

        public EipArgs.Builder publicIpv4Pool​(java.lang.String publicIpv4Pool)
        Parameters:
        publicIpv4Pool - EC2 IPv4 address pool identifier or `amazon`. This option is only available for VPC EIPs.
        Returns:
        builder
      • region

        public EipArgs.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 EipArgs.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
      • tags

        public EipArgs.Builder tags​(@Nullable
                                    com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. Tags can only be applied to EIPs in a VPC. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **NOTE:** You can specify either the `instance` ID or the `networkInterface` ID, but not both. Including both will **not** return an error from the AWS API, but will have undefined behavior. See the relevant [AssociateAddress API Call](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateAddress.html) for more information. > **NOTE:** Specifying both `publicIpv4Pool` and `address` won't cause an error, however, only `address` will be used if both options are defined as the API only requires one of the two.
        Returns:
        builder
      • tags

        public EipArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. Tags can only be applied to EIPs in a VPC. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **NOTE:** You can specify either the `instance` ID or the `networkInterface` ID, but not both. Including both will **not** return an error from the AWS API, but will have undefined behavior. See the relevant [AssociateAddress API Call](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateAddress.html) for more information. > **NOTE:** Specifying both `publicIpv4Pool` and `address` won't cause an error, however, only `address` will be used if both options are defined as the API only requires one of the two.
        Returns:
        builder