Interface Host.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Host.Builder,
,Host> SdkBuilder<Host.Builder,
,Host> SdkPojo
- Enclosing class:
Host
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time that the host was created.dedicatedHostId
(String dedicatedHostId) The unique ID of the Amazon EC2 Dedicated Host.ec2InstanceId
(String ec2InstanceId) The unique ID of the EC2 instance that represents the host.The DNS hostname of the host.The state of the host.The state of the host.instanceType
(String instanceType) The EC2 instance type of the host.instanceType
(InstanceType instanceType) The EC2 instance type of the host.The IP address of the host.The name of the SSH key that is used to access the host.modifiedAt
(Instant modifiedAt) The date and time that the host was modified.networkInterfaces
(Collection<NetworkInterface> networkInterfaces) The elastic network interfaces that are attached to the host.networkInterfaces
(Consumer<NetworkInterface.Builder>... networkInterfaces) The elastic network interfaces that are attached to the host.networkInterfaces
(NetworkInterface... networkInterfaces) The elastic network interfaces that are attached to the host.placementGroupId
(String placementGroupId) The unique ID of the placement group where the host is placed.stateDetails
(String stateDetails) A detailed description of thehostState
of a host.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
hostName
The DNS hostname of the host. DNS hostnames for hosts must be unique across Amazon EVS environments and within VCF.
- Parameters:
hostName
- The DNS hostname of the host. DNS hostnames for hosts must be unique across Amazon EVS environments and within VCF.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddress
The IP address of the host.
- Parameters:
ipAddress
- The IP address of the host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyName
The name of the SSH key that is used to access the host.
- Parameters:
keyName
- The name of the SSH key that is used to access the host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The EC2 instance type of the host.
EC2 instances created through Amazon EVS do not support associating an IAM instance profile.
- Parameters:
instanceType
- The EC2 instance type of the host.EC2 instances created through Amazon EVS do not support associating an IAM instance profile.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The EC2 instance type of the host.
EC2 instances created through Amazon EVS do not support associating an IAM instance profile.
- Parameters:
instanceType
- The EC2 instance type of the host.EC2 instances created through Amazon EVS do not support associating an IAM instance profile.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
placementGroupId
The unique ID of the placement group where the host is placed.
- Parameters:
placementGroupId
- The unique ID of the placement group where the host is placed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dedicatedHostId
The unique ID of the Amazon EC2 Dedicated Host.
- Parameters:
dedicatedHostId
- The unique ID of the Amazon EC2 Dedicated Host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time that the host was created.
- Parameters:
createdAt
- The date and time that the host was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
The date and time that the host was modified.
- Parameters:
modifiedAt
- The date and time that the host was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostState
The state of the host.
- Parameters:
hostState
- The state of the host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hostState
The state of the host.
- Parameters:
hostState
- The state of the host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateDetails
A detailed description of the
hostState
of a host.- Parameters:
stateDetails
- A detailed description of thehostState
of a host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2InstanceId
The unique ID of the EC2 instance that represents the host.
- Parameters:
ec2InstanceId
- The unique ID of the EC2 instance that represents the host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
The elastic network interfaces that are attached to the host.
- Parameters:
networkInterfaces
- The elastic network interfaces that are attached to the host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
The elastic network interfaces that are attached to the host.
- Parameters:
networkInterfaces
- The elastic network interfaces that are attached to the host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
The elastic network interfaces that are attached to the host.
This is a convenience method that creates an instance of theNetworkInterface.Builder
avoiding the need to create one manually viaNetworkInterface.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkInterfaces(List<NetworkInterface>)
.- Parameters:
networkInterfaces
- a consumer that will call methods onNetworkInterface.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-