Interface HostPropertiesResponse.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HostPropertiesResponse.Builder,,HostPropertiesResponse> SdkBuilder<HostPropertiesResponse.Builder,,HostPropertiesResponse> SdkPojo
- Enclosing class:
HostPropertiesResponse
public static interface HostPropertiesResponse.Builder
extends SdkPojo, CopyableBuilder<HostPropertiesResponse.Builder,HostPropertiesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionec2InstanceArn(String ec2InstanceArn) The ARN of the host EC2 instance.ec2InstanceType(String ec2InstanceType) The instance type of the host EC2 instance.The host name.default HostPropertiesResponse.BuilderipAddresses(Consumer<IpAddresses.Builder> ipAddresses) The IP address of the host.ipAddresses(IpAddresses ipAddresses) The IP address of the host.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
ipAddresses
The IP address of the host.
- Parameters:
ipAddresses- The IP address of the host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddresses
The IP address of the host.
This is a convenience method that creates an instance of theIpAddresses.Builderavoiding the need to create one manually viaIpAddresses.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toipAddresses(IpAddresses).- Parameters:
ipAddresses- a consumer that will call methods onIpAddresses.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hostName
The host name.
- Parameters:
hostName- The host name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2InstanceArn
The ARN of the host EC2 instance.
- Parameters:
ec2InstanceArn- The ARN of the host EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2InstanceType
The instance type of the host EC2 instance.
- Parameters:
ec2InstanceType- The instance type of the host EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-