public static interface Host.Builder extends SdkPojo, CopyableBuilder<Host.Builder,Host>
| Modifier and Type | Method and Description |
|---|---|
Host.Builder |
allocationTime(Instant allocationTime)
The time that the Dedicated Host was allocated.
|
Host.Builder |
allowsMultipleInstanceTypes(AllowsMultipleInstanceTypes allowsMultipleInstanceTypes)
Indicates whether the Dedicated Host supports multiple instance types of the same instance family.
|
Host.Builder |
allowsMultipleInstanceTypes(String allowsMultipleInstanceTypes)
Indicates whether the Dedicated Host supports multiple instance types of the same instance family.
|
Host.Builder |
assetId(String assetId)
The ID of the Outpost hardware asset on which the Dedicated Host is allocated.
|
Host.Builder |
autoPlacement(AutoPlacement autoPlacement)
Whether auto-placement is on or off.
|
Host.Builder |
autoPlacement(String autoPlacement)
Whether auto-placement is on or off.
|
Host.Builder |
availabilityZone(String availabilityZone)
The Availability Zone of the Dedicated Host.
|
Host.Builder |
availabilityZoneId(String availabilityZoneId)
The ID of the Availability Zone in which the Dedicated Host is allocated.
|
Host.Builder |
availableCapacity(AvailableCapacity availableCapacity)
Information about the instances running on the Dedicated Host.
|
default Host.Builder |
availableCapacity(Consumer<AvailableCapacity.Builder> availableCapacity)
Information about the instances running on the Dedicated Host.
|
Host.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
Host.Builder |
hostId(String hostId)
The ID of the Dedicated Host.
|
Host.Builder |
hostMaintenance(HostMaintenance hostMaintenance)
Indicates whether host maintenance is enabled or disabled for the Dedicated Host.
|
Host.Builder |
hostMaintenance(String hostMaintenance)
Indicates whether host maintenance is enabled or disabled for the Dedicated Host.
|
default Host.Builder |
hostProperties(Consumer<HostProperties.Builder> hostProperties)
The hardware specifications of the Dedicated Host.
|
Host.Builder |
hostProperties(HostProperties hostProperties)
The hardware specifications of the Dedicated Host.
|
Host.Builder |
hostRecovery(HostRecovery hostRecovery)
Indicates whether host recovery is enabled or disabled for the Dedicated Host.
|
Host.Builder |
hostRecovery(String hostRecovery)
Indicates whether host recovery is enabled or disabled for the Dedicated Host.
|
Host.Builder |
hostReservationId(String hostReservationId)
The reservation ID of the Dedicated Host.
|
Host.Builder |
instances(Collection<HostInstance> instances)
The IDs and instance type that are currently running on the Dedicated Host.
|
Host.Builder |
instances(Consumer<HostInstance.Builder>... instances)
The IDs and instance type that are currently running on the Dedicated Host.
|
Host.Builder |
instances(HostInstance... instances)
The IDs and instance type that are currently running on the Dedicated Host.
|
Host.Builder |
memberOfServiceLinkedResourceGroup(Boolean memberOfServiceLinkedResourceGroup)
Indicates whether the Dedicated Host is in a host resource group.
|
Host.Builder |
outpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the Dedicated Host is allocated.
|
Host.Builder |
ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the Dedicated Host.
|
Host.Builder |
releaseTime(Instant releaseTime)
The time that the Dedicated Host was released.
|
Host.Builder |
state(AllocationState state)
The Dedicated Host's state.
|
Host.Builder |
state(String state)
The Dedicated Host's state.
|
Host.Builder |
tags(Collection<Tag> tags)
Any tags assigned to the Dedicated Host.
|
Host.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the Dedicated Host.
|
Host.Builder |
tags(Tag... tags)
Any tags assigned to the Dedicated Host.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHost.Builder autoPlacement(String autoPlacement)
Whether auto-placement is on or off.
autoPlacement - Whether auto-placement is on or off.AutoPlacement,
AutoPlacementHost.Builder autoPlacement(AutoPlacement autoPlacement)
Whether auto-placement is on or off.
autoPlacement - Whether auto-placement is on or off.AutoPlacement,
AutoPlacementHost.Builder availabilityZone(String availabilityZone)
The Availability Zone of the Dedicated Host.
availabilityZone - The Availability Zone of the Dedicated Host.Host.Builder availableCapacity(AvailableCapacity availableCapacity)
Information about the instances running on the Dedicated Host.
availableCapacity - Information about the instances running on the Dedicated Host.default Host.Builder availableCapacity(Consumer<AvailableCapacity.Builder> availableCapacity)
Information about the instances running on the Dedicated Host.
This is a convenience method that creates an instance of theAvailableCapacity.Builder avoiding the
need to create one manually via AvailableCapacity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to availableCapacity(AvailableCapacity).
availableCapacity - a consumer that will call methods on AvailableCapacity.BuilderavailableCapacity(AvailableCapacity)Host.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see Ensuring
Idempotency.Host.Builder hostId(String hostId)
The ID of the Dedicated Host.
hostId - The ID of the Dedicated Host.Host.Builder hostProperties(HostProperties hostProperties)
The hardware specifications of the Dedicated Host.
hostProperties - The hardware specifications of the Dedicated Host.default Host.Builder hostProperties(Consumer<HostProperties.Builder> hostProperties)
The hardware specifications of the Dedicated Host.
This is a convenience method that creates an instance of theHostProperties.Builder avoiding the need
to create one manually via HostProperties.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to hostProperties(HostProperties).
hostProperties - a consumer that will call methods on HostProperties.BuilderhostProperties(HostProperties)Host.Builder hostReservationId(String hostReservationId)
The reservation ID of the Dedicated Host. This returns a null response if the Dedicated Host
doesn't have an associated reservation.
hostReservationId - The reservation ID of the Dedicated Host. This returns a null response if the Dedicated
Host doesn't have an associated reservation.Host.Builder instances(Collection<HostInstance> instances)
The IDs and instance type that are currently running on the Dedicated Host.
instances - The IDs and instance type that are currently running on the Dedicated Host.Host.Builder instances(HostInstance... instances)
The IDs and instance type that are currently running on the Dedicated Host.
instances - The IDs and instance type that are currently running on the Dedicated Host.Host.Builder instances(Consumer<HostInstance.Builder>... instances)
The IDs and instance type that are currently running on the Dedicated Host.
This is a convenience method that creates an instance of theHostInstance.Builder avoiding the need to create one
manually via HostInstance.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #instances(List.
instances - a consumer that will call methods on
HostInstance.Builder#instances(java.util.Collection) Host.Builder state(String state)
The Dedicated Host's state.
state - The Dedicated Host's state.AllocationState,
AllocationStateHost.Builder state(AllocationState state)
The Dedicated Host's state.
state - The Dedicated Host's state.AllocationState,
AllocationStateHost.Builder allocationTime(Instant allocationTime)
The time that the Dedicated Host was allocated.
allocationTime - The time that the Dedicated Host was allocated.Host.Builder releaseTime(Instant releaseTime)
The time that the Dedicated Host was released.
releaseTime - The time that the Dedicated Host was released.Host.Builder tags(Collection<Tag> tags)
Any tags assigned to the Dedicated Host.
tags - Any tags assigned to the Dedicated Host.Host.Builder tags(Tag... tags)
Any tags assigned to the Dedicated Host.
tags - Any tags assigned to the Dedicated Host.Host.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the Dedicated Host.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) Host.Builder hostRecovery(String hostRecovery)
Indicates whether host recovery is enabled or disabled for the Dedicated Host.
hostRecovery - Indicates whether host recovery is enabled or disabled for the Dedicated Host.HostRecovery,
HostRecoveryHost.Builder hostRecovery(HostRecovery hostRecovery)
Indicates whether host recovery is enabled or disabled for the Dedicated Host.
hostRecovery - Indicates whether host recovery is enabled or disabled for the Dedicated Host.HostRecovery,
HostRecoveryHost.Builder allowsMultipleInstanceTypes(String allowsMultipleInstanceTypes)
Indicates whether the Dedicated Host supports multiple instance types of the same instance family. If the
value is on, the Dedicated Host supports multiple instance types in the instance family. If the
value is off, the Dedicated Host supports a single instance type only.
allowsMultipleInstanceTypes - Indicates whether the Dedicated Host supports multiple instance types of the same instance family. If
the value is on, the Dedicated Host supports multiple instance types in the instance
family. If the value is off, the Dedicated Host supports a single instance type only.AllowsMultipleInstanceTypes,
AllowsMultipleInstanceTypesHost.Builder allowsMultipleInstanceTypes(AllowsMultipleInstanceTypes allowsMultipleInstanceTypes)
Indicates whether the Dedicated Host supports multiple instance types of the same instance family. If the
value is on, the Dedicated Host supports multiple instance types in the instance family. If the
value is off, the Dedicated Host supports a single instance type only.
allowsMultipleInstanceTypes - Indicates whether the Dedicated Host supports multiple instance types of the same instance family. If
the value is on, the Dedicated Host supports multiple instance types in the instance
family. If the value is off, the Dedicated Host supports a single instance type only.AllowsMultipleInstanceTypes,
AllowsMultipleInstanceTypesHost.Builder ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the Dedicated Host.
ownerId - The ID of the Amazon Web Services account that owns the Dedicated Host.Host.Builder availabilityZoneId(String availabilityZoneId)
The ID of the Availability Zone in which the Dedicated Host is allocated.
availabilityZoneId - The ID of the Availability Zone in which the Dedicated Host is allocated.Host.Builder memberOfServiceLinkedResourceGroup(Boolean memberOfServiceLinkedResourceGroup)
Indicates whether the Dedicated Host is in a host resource group. If
memberOfServiceLinkedResourceGroup is true, the host is in a host resource group;
otherwise, it is not.
memberOfServiceLinkedResourceGroup - Indicates whether the Dedicated Host is in a host resource group. If
memberOfServiceLinkedResourceGroup is true, the host is in a host resource group;
otherwise, it is not.Host.Builder outpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the Dedicated Host is allocated.
outpostArn - The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the Dedicated Host is
allocated.Host.Builder hostMaintenance(String hostMaintenance)
Indicates whether host maintenance is enabled or disabled for the Dedicated Host.
hostMaintenance - Indicates whether host maintenance is enabled or disabled for the Dedicated Host.HostMaintenance,
HostMaintenanceHost.Builder hostMaintenance(HostMaintenance hostMaintenance)
Indicates whether host maintenance is enabled or disabled for the Dedicated Host.
hostMaintenance - Indicates whether host maintenance is enabled or disabled for the Dedicated Host.HostMaintenance,
HostMaintenanceHost.Builder assetId(String assetId)
The ID of the Outpost hardware asset on which the Dedicated Host is allocated.
assetId - The ID of the Outpost hardware asset on which the Dedicated Host is allocated.Copyright © 2023. All rights reserved.