Interface InstanceTopology.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceTopology.Builder,InstanceTopology>,SdkBuilder<InstanceTopology.Builder,InstanceTopology>,SdkPojo
- Enclosing class:
- InstanceTopology
@Mutable @NotThreadSafe 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.BuilderavailabilityZone(String availabilityZone)The name of the Availability Zone or Local Zone that the instance is in.InstanceTopology.BuildercapacityBlockId(String capacityBlockId)The ID of the Capacity Block.InstanceTopology.BuildergroupName(String groupName)The name of the placement group that the instance is in.InstanceTopology.BuilderinstanceId(String instanceId)The instance ID.InstanceTopology.BuilderinstanceType(String instanceType)The instance type.InstanceTopology.BuildernetworkNodes(String... networkNodes)The network nodes.InstanceTopology.BuildernetworkNodes(Collection<String> networkNodes)The network nodes.InstanceTopology.BuilderzoneId(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, sdkFieldNameToField, 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 server 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 server 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 server 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 server 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.
-
capacityBlockId
InstanceTopology.Builder capacityBlockId(String capacityBlockId)
The ID of the Capacity Block. This parameter is only supported for Ultraserver instances and identifies instances within the Ultraserver domain.
- Parameters:
capacityBlockId- The ID of the Capacity Block. This parameter is only supported for Ultraserver instances and identifies instances within the Ultraserver domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-