Interface GatewayInstance.Builder

  • Method Details

    • 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 deployed 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 deployed to this instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 deployed 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 deployed to this instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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 ARN of the gateway.

      Parameters:
      gatewayInstanceArn - The 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 instance ID generated by the SSM install. This will begin with "mi-".

      Parameters:
      instanceId - The 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)

      Messages with information about the gateway.

      Parameters:
      instanceMessages - Messages with information about the gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceMessages

      GatewayInstance.Builder instanceMessages(MessageDetail... instanceMessages)

      Messages with information about the gateway.

      Parameters:
      instanceMessages - Messages with information about the gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceMessages

      GatewayInstance.Builder instanceMessages(Consumer<MessageDetail.Builder>... instanceMessages)

      Messages with information about the gateway.

      This is a convenience method that creates an instance of the MessageDetail.Builder avoiding the need to create one manually via MessageDetail.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to instanceMessages(List<MessageDetail>).

      Parameters:
      instanceMessages - a consumer that will call methods on MessageDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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.