Interface Resource.Builder

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

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

    • id

      The identifier of the resource.

      Parameters:
      id - The identifier of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • email

      Resource.Builder email(String email)

      The email of the resource.

      Parameters:
      email - The email of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the resource.

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

      The type of the resource: equipment or room.

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

      The type of the resource: equipment or room.

      Parameters:
      type - The type of the resource: equipment or room.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      Resource.Builder state(String state)

      The state of the resource, which can be ENABLED, DISABLED, or DELETED.

      Parameters:
      state - The state of the resource, which can be ENABLED, DISABLED, or DELETED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the resource, which can be ENABLED, DISABLED, or DELETED.

      Parameters:
      state - The state of the resource, which can be ENABLED, DISABLED, or DELETED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enabledDate

      Resource.Builder enabledDate(Instant enabledDate)

      The date indicating when the resource was enabled for WorkMail use.

      Parameters:
      enabledDate - The date indicating when the resource was enabled for WorkMail use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • disabledDate

      Resource.Builder disabledDate(Instant disabledDate)

      The date indicating when the resource was disabled from WorkMail use.

      Parameters:
      disabledDate - The date indicating when the resource was disabled from WorkMail use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      Resource.Builder description(String description)

      Resource description.

      Parameters:
      description - Resource description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.