Class GetElasticIpPlainArgs.Builder

  • Enclosing class:
    GetElasticIpPlainArgs

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

      • filters

        public GetElasticIpPlainArgs.Builder filters​(@Nullable
                                                     java.util.List<GetElasticIpFilter> filters)
        Parameters:
        filters - One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAddresses.html).
        Returns:
        builder
      • filters

        public GetElasticIpPlainArgs.Builder filters​(GetElasticIpFilter... filters)
        Parameters:
        filters - One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out the [EC2 API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAddresses.html).
        Returns:
        builder
      • id

        public GetElasticIpPlainArgs.Builder id​(@Nullable
                                                java.lang.String id)
        Parameters:
        id - Allocation ID of the specific VPC EIP to retrieve. If a classic EIP is required, do NOT set `id`, only set `publicIp`
        Returns:
        builder
      • publicIp

        public GetElasticIpPlainArgs.Builder publicIp​(@Nullable
                                                      java.lang.String publicIp)
        Parameters:
        publicIp - Public IP of the specific EIP to retrieve.
        Returns:
        builder
      • region

        public GetElasticIpPlainArgs.Builder region​(@Nullable
                                                    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 GetElasticIpPlainArgs.Builder tags​(@Nullable
                                                  java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags, each pair of which must exactly match a pair on the desired Elastic IP. The arguments of this data source act as filters for querying the available Elastic IPs in the current region. The given filters must match exactly one Elastic IP whose data will be exported as attributes.
        Returns:
        builder