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 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

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