Interface InstanceAccess.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InstanceAccess.Builder,InstanceAccess>, SdkBuilder<InstanceAccess.Builder,InstanceAccess>, SdkPojo
Enclosing class:
InstanceAccess

public static interface InstanceAccess.Builder extends SdkPojo, CopyableBuilder<InstanceAccess.Builder,InstanceAccess>
  • Method Details

    • fleetId

      InstanceAccess.Builder fleetId(String fleetId)

      A unique identifier for the fleet containing the instance to be accessed.

      Parameters:
      fleetId - A unique identifier for the fleet containing the instance to be accessed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceId

      InstanceAccess.Builder instanceId(String instanceId)

      A unique identifier for the instance to be accessed.

      Parameters:
      instanceId - A unique identifier for the instance to be accessed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddress

      InstanceAccess.Builder ipAddress(String ipAddress)

      IP address assigned to the instance.

      Parameters:
      ipAddress - IP address assigned to the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operatingSystem

      InstanceAccess.Builder operatingSystem(String operatingSystem)

      Operating system that is running on the instance.

      Parameters:
      operatingSystem - Operating system that is running on the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • operatingSystem

      InstanceAccess.Builder operatingSystem(OperatingSystem operatingSystem)

      Operating system that is running on the instance.

      Parameters:
      operatingSystem - Operating system that is running on the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • credentials

      InstanceAccess.Builder credentials(InstanceCredentials credentials)

      Security credentials that are required to access the instance.

      Parameters:
      credentials - Security credentials that are required to access the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credentials

      default InstanceAccess.Builder credentials(Consumer<InstanceCredentials.Builder> credentials)

      Security credentials that are required to access the instance.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to credentials(InstanceCredentials).

      Parameters:
      credentials - a consumer that will call methods on InstanceCredentials.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: