Interface Role.Builder

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

@Mutable @NotThreadSafe public static interface Role.Builder extends SdkPojo, CopyableBuilder<Role.Builder,Role>
  • Method Details

    • value

      Role.Builder value(String value)

      A string containing a role name. For example, "Researcher."

      Parameters:
      value - A string containing a role name. For example, "Researcher."
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Role.Builder type(String type)

      A string representing the type of role. For example, "Work."

      Parameters:
      type - A string representing the type of role. For example, "Work."
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • primary

      Role.Builder primary(Boolean primary)

      A Boolean value representing whether this is the primary role for the associated resource.

      Parameters:
      primary - A Boolean value representing whether this is the primary role for the associated resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.