Interface UpdateResourceRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>, SdkBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>, SdkPojo, SdkRequest.Builder, WorkMailRequest.Builder
Enclosing class:
UpdateResourceRequest

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

    • organizationId

      UpdateResourceRequest.Builder organizationId(String organizationId)

      The identifier associated with the organization for which the resource is updated.

      Parameters:
      organizationId - The identifier associated with the organization for which the resource is updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceId

      UpdateResourceRequest.Builder resourceId(String resourceId)

      The identifier of the resource to be updated.

      The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

      • Resource ID: r-0123456789a0123456789b0123456789

      • Email address: resource@domain.tld

      • Resource name: resource

      Parameters:
      resourceId - The identifier of the resource to be updated.

      The identifier can accept ResourceId, Resourcename, or email. The following identity formats are available:

      • Resource ID: r-0123456789a0123456789b0123456789

      • Email address: resource@domain.tld

      • Resource name: resource

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the resource to be updated.

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

      UpdateResourceRequest.Builder bookingOptions(BookingOptions bookingOptions)

      The resource's booking options to be updated.

      Parameters:
      bookingOptions - The resource's booking options to be updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bookingOptions

      default UpdateResourceRequest.Builder bookingOptions(Consumer<BookingOptions.Builder> bookingOptions)

      The resource's booking options to be updated.

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

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

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

      UpdateResourceRequest.Builder description(String description)

      Updates the resource description.

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

      Updates the resource type.

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

      Updates the resource type.

      Parameters:
      type - Updates the resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • hiddenFromGlobalAddressList

      UpdateResourceRequest.Builder hiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)

      If enabled, the resource is hidden from the global address list.

      Parameters:
      hiddenFromGlobalAddressList - If enabled, the resource is hidden from the global address list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.