Interface GrpcMetadataMatchMethod.Builder

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

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

    • exact

      The exact method header to be matched on.

      Parameters:
      exact - The exact method header to be matched on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • prefix

      The specified beginning characters of the method header to be matched on.

      Parameters:
      prefix - The specified beginning characters of the method header to be matched on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • range

      Sets the value of the Range property for this object.
      Parameters:
      range - The new value for the Range property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • range

      Sets the value of the Range property for this object. This is a convenience method that creates an instance of the MatchRange.Builder avoiding the need to create one manually via MatchRange.builder().

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

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

      The regex used to match the method header.

      Parameters:
      regex - The regex used to match the method header.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • suffix

      The specified ending characters of the method header to match on.

      Parameters:
      suffix - The specified ending characters of the method header to match on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.