Class GetCapacityBlockReservationResult


  • public final class GetCapacityBlockReservationResult
    extends java.lang.Object
    • Method Detail

      • arn

        public java.lang.String arn()
        Returns:
        ARN of the Capacity Block reservation.
      • availabilityZone

        public java.lang.String availabilityZone()
        Returns:
        Availability Zone in which the capacity is reserved.
      • availabilityZoneId

        public java.lang.String availabilityZoneId()
        Returns:
        ID of the Availability Zone in which the capacity is reserved.
      • availableInstanceCount

        public java.lang.Integer availableInstanceCount()
        Returns:
        Remaining capacity, indicating the number of instances that can still be launched into the Capacity Block reservation.
      • capacityBlockId

        public java.lang.String capacityBlockId()
        Returns:
        ID of the underlying Capacity Block.
      • commitmentInfo

        public GetCapacityBlockReservationCommitmentInfo commitmentInfo()
        Returns:
        Information about your commitment for a future-dated Capacity Block reservation. See `commitmentInfo` Attribute Reference below.
      • createdDate

        public java.lang.String createdDate()
        Returns:
        Date and time the Capacity Block reservation was created in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
      • deliveryPreference

        public java.lang.String deliveryPreference()
        Returns:
        Delivery method for a future-dated Capacity Block reservation. Either `fixed` or `incremental`.
      • ebsOptimized

        public java.lang.Boolean ebsOptimized()
        Returns:
        Whether the Capacity Block reservation supports EBS-optimized instances.
      • endDate

        public java.lang.String endDate()
        Returns:
        Date and time the Capacity Block reservation expires in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
      • endDateType

        public java.lang.String endDateType()
        Returns:
        End type of the Capacity Block reservation. Either `limited` or `unlimited`.
      • id

        public java.lang.String id()
      • instanceCount

        public java.lang.Integer instanceCount()
        Returns:
        Number of instances allocated as interruptible capacity within the Capacity Block reservation.
      • instanceMatchCriteria

        public java.lang.String instanceMatchCriteria()
        Returns:
        Type of instance launches that the Capacity Block accepts. Either `open` or `targeted`.
      • instancePlatform

        public java.lang.String instancePlatform()
        Returns:
        Operating system platform for which the Capacity Block reserves capacity.
      • instanceType

        public java.lang.String instanceType()
        Returns:
        Instance type for which the Capacity Block reserves capacity.
      • interruptionInfo

        public GetCapacityBlockReservationInterruptionInfo interruptionInfo()
        Returns:
        Information about an interrupted Capacity Block reservation, if applicable. See `interruptionInfo` Attribute Reference below.
      • outpostArn

        public java.lang.String outpostArn()
        Returns:
        ARN of the Outpost on which the Capacity Block was created, if applicable.
      • ownerId

        public java.lang.String ownerId()
        Returns:
        ID of the AWS account that owns the Capacity Block reservation.
      • placementGroupArn

        public java.lang.String placementGroupArn()
        Returns:
        ARN of the cluster placement group in which the Capacity Block was created, if applicable.
      • region

        public java.lang.String region()
      • reservationType

        public java.lang.String reservationType()
        Returns:
        Type of Capacity Reservation. Always `capacity-block` for this data source.
      • startDate

        public java.lang.String startDate()
        Returns:
        Date and time the Capacity Block reservation was started in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
      • state

        public java.lang.String state()
        Returns:
        Current state of the Capacity Block reservation. One of `active`, `expired`, `cancelled`, `pending`, `failed`, `scheduled`, `payment-pending`, `payment-failed`, or `assessing`.
      • tags

        public java.util.Map<java.lang.String,​java.lang.String> tags()
        Returns:
        Map of tags assigned to the Capacity Block reservation.
      • tenancy

        public java.lang.String tenancy()
        Returns:
        Tenancy of the Capacity Block. Either `default` or `dedicated`.