Class GetCapacityBlockReservationFilter.Builder

    • Method Detail

      • name

        public GetCapacityBlockReservationFilter.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the filter field. See the [DescribeCapacityReservations API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCapacityReservations.html) for valid values. Common filters include `instance-type`, `availability-zone`, `state`, `instance-platform`, `tenancy`, `outpost-arn`, `placement-group-arn`, `instance-match-criteria`, and `tag:<KEY>`.
        Returns:
        builder
      • values

        public GetCapacityBlockReservationFilter.Builder values​(java.util.List<java.lang.String> values)
        Parameters:
        values - Set of values that are accepted for the given filter field. A Capacity Block reservation will be selected if any one of the given values matches.
        Returns:
        builder
      • values

        public GetCapacityBlockReservationFilter.Builder values​(java.lang.String... values)
        Parameters:
        values - Set of values that are accepted for the given filter field. A Capacity Block reservation will be selected if any one of the given values matches.
        Returns:
        builder