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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HostPropertiesResponse.Builderec2InstanceArn(String ec2InstanceArn)The ARN of the host EC2 instance.HostPropertiesResponse.Builderec2InstanceType(String ec2InstanceType)The instance type of the host EC2 instance.HostPropertiesResponse.BuilderhostName(String hostName)The host name.default HostPropertiesResponse.BuilderipAddresses(Consumer<IpAddresses.Builder> ipAddresses)The IP address of the host.HostPropertiesResponse.BuilderipAddresses(IpAddresses ipAddresses)The IP address of the 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, sdkFields
-
-
-
-
Method Detail
-
ec2InstanceArn
HostPropertiesResponse.Builder ec2InstanceArn(String 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
HostPropertiesResponse.Builder ec2InstanceType(String 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.
-
hostName
HostPropertiesResponse.Builder hostName(String hostName)
The host name.
- Parameters:
hostName- The host name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddresses
HostPropertiesResponse.Builder ipAddresses(IpAddresses 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
default HostPropertiesResponse.Builder ipAddresses(Consumer<IpAddresses.Builder> 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:
ipAddresses(IpAddresses)
-
-