Interface GatewayInstance.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GatewayInstance.Builder,GatewayInstance>,SdkBuilder<GatewayInstance.Builder,GatewayInstance>,SdkPojo
- Enclosing class:
- GatewayInstance
public static interface GatewayInstance.Builder extends SdkPojo, CopyableBuilder<GatewayInstance.Builder,GatewayInstance>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GatewayInstance.BuilderbridgePlacement(String bridgePlacement)The availability of the instance to host new bridges.GatewayInstance.BuilderbridgePlacement(BridgePlacement bridgePlacement)The availability of the instance to host new bridges.GatewayInstance.BuilderconnectionStatus(String connectionStatus)The connection state of the instance.GatewayInstance.BuilderconnectionStatus(ConnectionStatus connectionStatus)The connection state of the instance.GatewayInstance.BuildergatewayArn(String gatewayArn)The Amazon Resource Name (ARN) of the instance.GatewayInstance.BuildergatewayInstanceArn(String gatewayInstanceArn)The Amazon Resource Name (ARN) of the gateway.GatewayInstance.BuilderinstanceId(String instanceId)The managed instance ID generated by the SSM install.GatewayInstance.BuilderinstanceMessages(Collection<MessageDetail> instanceMessages)Sets the value of the InstanceMessages property for this object.GatewayInstance.BuilderinstanceMessages(Consumer<MessageDetail.Builder>... instanceMessages)Sets the value of the InstanceMessages property for this object.GatewayInstance.BuilderinstanceMessages(MessageDetail... instanceMessages)Sets the value of the InstanceMessages property for this object.GatewayInstance.BuilderinstanceState(String instanceState)The status of the instance.GatewayInstance.BuilderinstanceState(InstanceState instanceState)The status of the instance.GatewayInstance.BuilderrunningBridgeCount(Integer runningBridgeCount)The running bridge count.-
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
-
bridgePlacement
GatewayInstance.Builder bridgePlacement(String bridgePlacement)
The availability of the instance to host new bridges. The bridgePlacement property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be deployed to this instance. If it is AVAILABLE, new bridges can be added to this instance.- Parameters:
bridgePlacement- The availability of the instance to host new bridges. The bridgePlacement property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be deployed to this instance. If it is AVAILABLE, new bridges can be added to this instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BridgePlacement,BridgePlacement
-
bridgePlacement
GatewayInstance.Builder bridgePlacement(BridgePlacement bridgePlacement)
The availability of the instance to host new bridges. The bridgePlacement property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be deployed to this instance. If it is AVAILABLE, new bridges can be added to this instance.- Parameters:
bridgePlacement- The availability of the instance to host new bridges. The bridgePlacement property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be deployed to this instance. If it is AVAILABLE, new bridges can be added to this instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BridgePlacement,BridgePlacement
-
connectionStatus
GatewayInstance.Builder connectionStatus(String connectionStatus)
The connection state of the instance.- Parameters:
connectionStatus- The connection state of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConnectionStatus,ConnectionStatus
-
connectionStatus
GatewayInstance.Builder connectionStatus(ConnectionStatus connectionStatus)
The connection state of the instance.- Parameters:
connectionStatus- The connection state of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConnectionStatus,ConnectionStatus
-
gatewayArn
GatewayInstance.Builder gatewayArn(String gatewayArn)
The Amazon Resource Name (ARN) of the instance.- Parameters:
gatewayArn- The Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayInstanceArn
GatewayInstance.Builder gatewayInstanceArn(String gatewayInstanceArn)
The Amazon Resource Name (ARN) of the gateway.- Parameters:
gatewayInstanceArn- The Amazon Resource Name (ARN) of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
GatewayInstance.Builder instanceId(String instanceId)
The managed instance ID generated by the SSM install. This will begin with "mi-".- Parameters:
instanceId- The managed instance ID generated by the SSM install. This will begin with "mi-".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceMessages
GatewayInstance.Builder instanceMessages(Collection<MessageDetail> instanceMessages)
Sets the value of the InstanceMessages property for this object.- Parameters:
instanceMessages- The new value for the InstanceMessages property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceMessages
GatewayInstance.Builder instanceMessages(MessageDetail... instanceMessages)
Sets the value of the InstanceMessages property for this object.- Parameters:
instanceMessages- The new value for the InstanceMessages property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceMessages
GatewayInstance.Builder instanceMessages(Consumer<MessageDetail.Builder>... instanceMessages)
Sets the value of the InstanceMessages property for this object. This is a convenience method that creates an instance of theMessageDetail.Builderavoiding the need to create one manually viaMessageDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instanceMessages(List.) - Parameters:
instanceMessages- a consumer that will call methods onMessageDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#instanceMessages(java.util.Collection)
-
instanceState
GatewayInstance.Builder instanceState(String instanceState)
The status of the instance.- Parameters:
instanceState- The status of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceState,InstanceState
-
instanceState
GatewayInstance.Builder instanceState(InstanceState instanceState)
The status of the instance.- Parameters:
instanceState- The status of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceState,InstanceState
-
runningBridgeCount
GatewayInstance.Builder runningBridgeCount(Integer runningBridgeCount)
The running bridge count.- Parameters:
runningBridgeCount- The running bridge count.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-