Interface VmEntitlement.Builder

  • Method Details

    • vmId

      The unique ID of the virtual machine.

      Parameters:
      vmId - The unique ID of the virtual machine.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • environmentId

      VmEntitlement.Builder environmentId(String environmentId)

      The unique ID of the environment.

      Parameters:
      environmentId - The unique ID of the environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectorId

      VmEntitlement.Builder connectorId(String connectorId)

      The unique ID of the connector associated with the entitlement.

      Parameters:
      connectorId - The unique ID of the connector associated with the entitlement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vmName

      VmEntitlement.Builder vmName(String vmName)

      The name of the virtual machine.

      Parameters:
      vmName - The name of the virtual machine.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of entitlement.

      Parameters:
      type - The type of entitlement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of entitlement.

      Parameters:
      type - The type of entitlement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      VmEntitlement.Builder status(String status)

      The status of the entitlement.

      Parameters:
      status - The status of the entitlement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the entitlement.

      Parameters:
      status - The status of the entitlement.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastSyncedAt

      VmEntitlement.Builder lastSyncedAt(Instant lastSyncedAt)

      The date and time that the entitlement was last synced.

      Parameters:
      lastSyncedAt - The date and time that the entitlement was last synced.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedAt

      VmEntitlement.Builder startedAt(Instant startedAt)

      The date and time that the entitlement started.

      Parameters:
      startedAt - The date and time that the entitlement started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stoppedAt

      VmEntitlement.Builder stoppedAt(Instant stoppedAt)

      The date and time that the entitlement stopped.

      Parameters:
      stoppedAt - The date and time that the entitlement stopped.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorDetail

      VmEntitlement.Builder errorDetail(ErrorDetail errorDetail)

      The error details associated with the entitlement, if applicable.

      Parameters:
      errorDetail - The error details associated with the entitlement, if applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorDetail

      default VmEntitlement.Builder errorDetail(Consumer<ErrorDetail.Builder> errorDetail)

      The error details associated with the entitlement, if applicable.

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

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

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