レコードクラス ElasticCommonSchemaProperties
java.lang.ObjectSE
java.lang.RecordSE
org.springframework.boot.logging.structured.ElasticCommonSchemaProperties
- レコードコンポーネント:
service- サービス詳細
public record ElasticCommonSchemaProperties(ElasticCommonSchemaProperties.Service service)
extends RecordSE
Elastic Common Schema 構造化ログのプロパティ。
- 導入:
- 3.4.0
- 作成者:
- Moritz Halbritter, Phillip Webb
ネストされたクラスの要約
ネストされたクラスコンストラクターの概要
コンストラクターコンストラクター説明ElasticCommonSchemaPropertiesレコードクラスのインスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明final boolean他のオブジェクトがこのオブジェクトと「等しい」かどうかを示します。get(Environment environment) 指定されたEnvironmentのプロパティからバインドされた新しいElasticCommonSchemaPropertiesを返します。final inthashCode()このオブジェクトのハッシュコード値を返します。voidjsonMembers(JsonWriter.Members<?> members) サービスにJsonWriterメンバーを追加します。service()serviceレコードコンポーネントの値を返します。final StringSEtoString()このレコードクラスの文字列表現を返します。
コンストラクターの詳細
ElasticCommonSchemaProperties
ElasticCommonSchemaPropertiesレコードクラスのインスタンスを作成します。- パラメーター:
service-serviceレコードコンポーネントの値
メソッドの詳細
jsonMembers
サービスにJsonWriterメンバーを追加します。- パラメーター:
members- 追加するメンバー
get
指定されたEnvironmentのプロパティからバインドされた新しいElasticCommonSchemaPropertiesを返します。- パラメーター:
environment- ソース環境- 戻り値:
- 新しい
ElasticCommonSchemaPropertiesインスタンス
toString
このレコードクラスの文字列表現を返します。表現には、クラスの名前が含まれ、その後に各レコードコンポーネントの名前と値が続きます。hashCode
public final int hashCode()このオブジェクトのハッシュコード値を返します。値は、各レコードコンポーネントのハッシュコードから導出されます。equals
他のオブジェクトがこのオブジェクトと「等しい」かどうかを示します。他のオブジェクトが同じクラスであり、すべてのレコードコンポーネントが等しい場合、オブジェクトは等しいです。このレコードクラスのすべてのコンポーネントがObjects::equals(Object,Object)SE と比較されます。service
serviceレコードコンポーネントの値を返します。- 戻り値:
serviceレコードコンポーネントの値