Class GetDedicatedHostResult


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

      • allocationTime

        public java.lang.String allocationTime()
        Returns:
        Time that the Dedicated Host was allocated, in RFC3339 format.
      • allowsMultipleInstanceTypes

        public java.lang.String allowsMultipleInstanceTypes()
        Returns:
        Whether the Dedicated Host supports multiple instance types of the same instance family. Valid values: `on`, `off`.
      • arn

        public java.lang.String arn()
        Returns:
        ARN of the Dedicated Host.
      • assetId

        public java.lang.String assetId()
        Returns:
        The ID of the Outpost hardware asset on which the Dedicated Host is allocated.
      • autoPlacement

        public java.lang.String autoPlacement()
        Returns:
        Whether auto-placement is on or off.
      • availabilityZone

        public java.lang.String availabilityZone()
        Returns:
        Availability Zone of the Dedicated Host.
      • availabilityZoneId

        public java.lang.String availabilityZoneId()
        Returns:
        AZ ID of the Availability Zone in which the Dedicated Host is allocated (e.g., `use1-az1`).
      • availableCapacities

        public java.util.List<GetDedicatedHostAvailableCapacity> availableCapacities()
        Returns:
        The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.
      • cores

        public java.lang.Integer cores()
        Returns:
        Number of cores on the Dedicated Host.
      • hostId

        public java.lang.String hostId()
      • hostMaintenance

        public java.lang.String hostMaintenance()
        Returns:
        Whether host maintenance is enabled or disabled for the Dedicated Host. Valid values: `on`, `off`.
      • hostRecovery

        public java.lang.String hostRecovery()
        Returns:
        Whether host recovery is enabled or disabled for the Dedicated Host.
      • hostReservationId

        public java.lang.String hostReservationId()
        Returns:
        The reservation ID of the Dedicated Host.
      • id

        public java.lang.String id()
        Returns:
        The provider-assigned unique ID for this managed resource.
      • instanceFamily

        public java.lang.String instanceFamily()
        Returns:
        Instance family supported by the Dedicated Host. For example, "m5".
      • instanceType

        public java.lang.String instanceType()
        Returns:
        The instance type of the running instance.
      • instances

        public java.util.List<GetDedicatedHostInstance> instances()
        Returns:
        The instances running on the Dedicated Host. See `instances` below.
      • memberOfServiceLinkedResourceGroup

        public java.lang.Boolean memberOfServiceLinkedResourceGroup()
        Returns:
        Whether the Dedicated Host is in a host resource group.
      • outpostArn

        public java.lang.String outpostArn()
        Returns:
        ARN of the AWS Outpost on which the Dedicated Host is allocated.
      • ownerId

        public java.lang.String ownerId()
        Returns:
        The ID of the AWS account that owns the instance.
      • region

        public java.lang.String region()
      • releaseTime

        public java.lang.String releaseTime()
        Returns:
        Time that the Dedicated Host was released, in RFC3339 format.
      • sockets

        public java.lang.Integer sockets()
        Returns:
        Number of sockets on the Dedicated Host.
      • state

        public java.lang.String state()
        Returns:
        Allocation state of the Dedicated Host. Valid values: `available`, `under-assessment`, `permanent-failure`, `released`, `released-permanent-failure`, `pending`.
      • tags

        public java.util.Map<java.lang.String,​java.lang.String> tags()
      • totalVcpus

        public java.lang.Integer totalVcpus()
        Returns:
        Total number of vCPUs on the Dedicated Host.