Interface PingMagicBytesAccessor.PingMagicBytesBuilder<B extends PingMagicBytesAccessor.PingMagicBytesBuilder<B>>

Type Parameters:
B - The builder to return in order to be able to apply multiple build operations.
All Known Implementing Classes:
TransmissionMetrics.Builder
Enclosing interface:
PingMagicBytesAccessor

public static interface PingMagicBytesAccessor.PingMagicBytesBuilder<B extends PingMagicBytesAccessor.PingMagicBytesBuilder<B>>
Provides a builder method for a ping magic bytes property returning the builder for applying multiple build operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    withPingMagicBytes(byte[] aPingMagicBytes)
    Sets the magic bytes for the ping magic bytes property.
    default B
    withPingMagicBytes(String aPingMagicBytes)
    Sets the magic bytes for the ping magic bytes property.
    default B
    withPingMagicBytes(String aPingMagicBytes, Charset aEncoding)
    Sets the magic bytes for the ping magic bytes property.
  • Method Details

    • withPingMagicBytes

      B withPingMagicBytes(byte[] aPingMagicBytes)
      Sets the magic bytes for the ping magic bytes property.
      Parameters:
      aPingMagicBytes - The magic bytes to be stored by the ping magic bytes property.
      Returns:
      The builder for applying multiple build operations.
    • withPingMagicBytes

      default B withPingMagicBytes(String aPingMagicBytes)
      Sets the magic bytes for the ping magic bytes property.
      Parameters:
      aPingMagicBytes - The magic bytes to be stored by the magic bytes property. Uses TransmissionMetrics.DEFAULT_ENCODING for converting the String into a byte array.
      Returns:
      the b
    • withPingMagicBytes

      default B withPingMagicBytes(String aPingMagicBytes, Charset aEncoding)
      Sets the magic bytes for the ping magic bytes property.
      Parameters:
      aPingMagicBytes - The magic bytes to be stored by the magic bytes property.
      aEncoding - The string's bytes are converted using the given Charset.
      Returns:
      The builder for applying multiple build operations.