Interface HostEntry.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<HostEntry.Builder,HostEntry>
,SdkBuilder<HostEntry.Builder,HostEntry>
,SdkPojo
- Enclosing class:
- HostEntry
public static interface HostEntry.Builder extends SdkPojo, CopyableBuilder<HostEntry.Builder,HostEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HostEntry.Builder
hostname(String hostname)
The hostname to use in the/etc/hosts
entry.HostEntry.Builder
ipAddress(String ipAddress)
The IP address to use in the/etc/hosts
entry.-
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
-
hostname
HostEntry.Builder hostname(String hostname)
The hostname to use in the
/etc/hosts
entry.- Parameters:
hostname
- The hostname to use in the/etc/hosts
entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddress
HostEntry.Builder ipAddress(String ipAddress)
The IP address to use in the
/etc/hosts
entry.- Parameters:
ipAddress
- The IP address to use in the/etc/hosts
entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-