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, or a
specific instance type only.
|
Host.Builder |
allowsMultipleInstanceTypes(String allowsMultipleInstanceTypes)
Indicates whether the Dedicated Host supports multiple instance types of the same instance family, or a
specific instance type only.
|
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.
|
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 |
ownerId(String ownerId)
The ID of the AWS 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 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 How to Ensure Idempotency.
clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to
Ensure 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 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 that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #instances(List) .instances - a consumer that will call methods on List.Builder #instances(List) 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 that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) 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, or a
specific instance type only. one indicates that the Dedicated Host supports multiple instance
types in the instance family. off indicates that the Dedicated Host supports a single instance
type only.
allowsMultipleInstanceTypes - Indicates whether the Dedicated Host supports multiple instance types of the same instance family, or
a specific instance type only. one indicates that the Dedicated Host supports multiple
instance types in the instance family. off indicates that 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, or a
specific instance type only. one indicates that the Dedicated Host supports multiple instance
types in the instance family. off indicates that the Dedicated Host supports a single instance
type only.
allowsMultipleInstanceTypes - Indicates whether the Dedicated Host supports multiple instance types of the same instance family, or
a specific instance type only. one indicates that the Dedicated Host supports multiple
instance types in the instance family. off indicates that the Dedicated Host supports a
single instance type only.AllowsMultipleInstanceTypes,
AllowsMultipleInstanceTypesHost.Builder ownerId(String ownerId)
The ID of the AWS account that owns the Dedicated Host.
ownerId - The ID of the AWS 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.Copyright © 2020. All rights reserved.