Interface InstanceTopology.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceTopology.Builder,InstanceTopology>
,SdkBuilder<InstanceTopology.Builder,InstanceTopology>
,SdkPojo
- Enclosing class:
- InstanceTopology
public static interface InstanceTopology.Builder extends SdkPojo, CopyableBuilder<InstanceTopology.Builder,InstanceTopology>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceTopology.Builder
availabilityZone(String availabilityZone)
The name of the Availability Zone or Local Zone that the instance is in.InstanceTopology.Builder
groupName(String groupName)
The name of the placement group that the instance is in.InstanceTopology.Builder
instanceId(String instanceId)
The instance ID.InstanceTopology.Builder
instanceType(String instanceType)
The instance type.InstanceTopology.Builder
networkNodes(String... networkNodes)
The network nodes.InstanceTopology.Builder
networkNodes(Collection<String> networkNodes)
The network nodes.InstanceTopology.Builder
zoneId(String zoneId)
The ID of the Availability Zone or Local Zone that the instance is in.-
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
-
instanceId
InstanceTopology.Builder instanceId(String instanceId)
The instance ID.
- Parameters:
instanceId
- The instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
InstanceTopology.Builder instanceType(String instanceType)
The instance type.
- Parameters:
instanceType
- The instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
InstanceTopology.Builder groupName(String groupName)
The name of the placement group that the instance is in.
- Parameters:
groupName
- The name of the placement group that the instance is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkNodes
InstanceTopology.Builder networkNodes(Collection<String> networkNodes)
The network nodes. The nodes are hashed based on your account. Instances from different accounts running under the same droplet will return a different hashed list of strings.
- Parameters:
networkNodes
- The network nodes. The nodes are hashed based on your account. Instances from different accounts running under the same droplet will return a different hashed list of strings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkNodes
InstanceTopology.Builder networkNodes(String... networkNodes)
The network nodes. The nodes are hashed based on your account. Instances from different accounts running under the same droplet will return a different hashed list of strings.
- Parameters:
networkNodes
- The network nodes. The nodes are hashed based on your account. Instances from different accounts running under the same droplet will return a different hashed list of strings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
InstanceTopology.Builder availabilityZone(String availabilityZone)
The name of the Availability Zone or Local Zone that the instance is in.
- Parameters:
availabilityZone
- The name of the Availability Zone or Local Zone that the instance is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneId
InstanceTopology.Builder zoneId(String zoneId)
The ID of the Availability Zone or Local Zone that the instance is in.
- Parameters:
zoneId
- The ID of the Availability Zone or Local Zone that the instance is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-