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
Modifier and TypeMethodDescriptionbridgePlacement
(String bridgePlacement) The availability of the instance to host new bridges.bridgePlacement
(BridgePlacement bridgePlacement) The availability of the instance to host new bridges.connectionStatus
(String connectionStatus) The connection state of the instance.connectionStatus
(ConnectionStatus connectionStatus) The connection state of the instance.gatewayArn
(String gatewayArn) The Amazon Resource Name (ARN) of the instance.gatewayInstanceArn
(String gatewayInstanceArn) The Amazon Resource Name (ARN) of the gateway.instanceId
(String instanceId) The managed instance ID generated by the SSM install.instanceMessages
(Collection<MessageDetail> instanceMessages) Sets the value of the InstanceMessages property for this object.instanceMessages
(Consumer<MessageDetail.Builder>... instanceMessages) Sets the value of the InstanceMessages property for this object.instanceMessages
(MessageDetail... instanceMessages) Sets the value of the InstanceMessages property for this object.instanceState
(String instanceState) The status of the instance.instanceState
(InstanceState instanceState) The status of the instance.runningBridgeCount
(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 Details
-
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
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:
-
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
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:
-
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
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
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
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
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
Sets the value of the InstanceMessages property for this object. This is a convenience method that creates an instance of theMessageDetail.Builder
avoiding the need to create one manually viaMessageDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceMessages(List<MessageDetail>)
.- 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:
-
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
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:
-
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.
-