レコードクラス BuilderDockerConfiguration
java.lang.ObjectSE
java.lang.RecordSE
org.springframework.boot.buildpack.platform.build.BuilderDockerConfiguration
- レコードコンポーネント:
connection- Docker ホスト構成bindHostToBuilder- 接続から解決されたホストをビルダーにバインドする必要がある場合builderRegistryAuthentication- ビルダーDockerRegistryAuthenticationpublishRegistryAuthentication- 公開DockerRegistryAuthentication
public record BuilderDockerConfiguration(@Nullable DockerConnectionConfiguration connection, boolean bindHostToBuilder, @Nullable DockerRegistryAuthentication builderRegistryAuthentication, @Nullable DockerRegistryAuthentication publishRegistryAuthentication)
extends RecordSE
Docker の
Builder 構成オプション。- 導入:
- 3.5.0
- 作成者:
- Phillip Webb, Wei Jiang, Scott Frederick
コンストラクターの概要
コンストラクターコンストラクター説明BuilderDockerConfiguration(@Nullable DockerConnectionConfiguration connection, boolean bindHostToBuilder, @Nullable DockerRegistryAuthentication builderRegistryAuthentication, @Nullable DockerRegistryAuthentication publishRegistryAuthentication) BuilderDockerConfigurationレコードクラスのインスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明booleanbindHostToBuilderレコードコンポーネントの値を返します。@Nullable DockerRegistryAuthenticationbuilderRegistryAuthenticationレコードコンポーネントの値を返します。@Nullable DockerConnectionConfigurationconnectionレコードコンポーネントの値を返します。final boolean他のオブジェクトがこのオブジェクトと「等しい」かどうかを示します。final inthashCode()このオブジェクトのハッシュコード値を返します。@Nullable DockerRegistryAuthenticationpublishRegistryAuthenticationレコードコンポーネントの値を返します。final StringSEtoString()このレコードクラスの文字列表現を返します。withBindHostToBuilder(boolean bindHostToBuilder) withBuilderRegistryAuthentication(DockerRegistryAuthentication builderRegistryAuthentication) withContext(StringSE context) withPublishRegistryAuthentication(DockerRegistryAuthentication publishRegistryAuthentication)
コンストラクターの詳細
BuilderDockerConfiguration
public BuilderDockerConfiguration()BuilderDockerConfiguration
public BuilderDockerConfiguration(@Nullable DockerConnectionConfiguration connection, boolean bindHostToBuilder, @Nullable DockerRegistryAuthentication builderRegistryAuthentication, @Nullable DockerRegistryAuthentication publishRegistryAuthentication) BuilderDockerConfigurationレコードクラスのインスタンスを作成します。- パラメーター:
connection-connectionレコードコンポーネントの値bindHostToBuilder-bindHostToBuilderレコードコンポーネントの値builderRegistryAuthentication-builderRegistryAuthenticationレコードコンポーネントの値publishRegistryAuthentication-publishRegistryAuthenticationレコードコンポーネントの値
メソッドの詳細
withContext
withHost
public BuilderDockerConfiguration withHost(StringSE address, boolean secure, @Nullable StringSE certificatePath) withBindHostToBuilder
withBuilderRegistryAuthentication
public BuilderDockerConfiguration withBuilderRegistryAuthentication(DockerRegistryAuthentication builderRegistryAuthentication) withPublishRegistryAuthentication
public BuilderDockerConfiguration withPublishRegistryAuthentication(DockerRegistryAuthentication publishRegistryAuthentication) toString
hashCode
equals
他のオブジェクトがこのオブジェクトと「等しい」かどうかを示します。他のオブジェクトが同じクラスであり、すべてのレコードコンポーネントが等しい場合、オブジェクトは等しいとみなされます。参照コンポーネントはObjects::equals(Object,Object)SE と比較され、プリミティブコンポーネントは対応するラッパークラスのcompareメソッドと比較されます。connection
connectionレコードコンポーネントの値を返します。- 戻り値:
connectionレコードコンポーネントの値
bindHostToBuilder
public boolean bindHostToBuilder()bindHostToBuilderレコードコンポーネントの値を返します。- 戻り値:
bindHostToBuilderレコードコンポーネントの値
builderRegistryAuthentication
builderRegistryAuthenticationレコードコンポーネントの値を返します。- 戻り値:
builderRegistryAuthenticationレコードコンポーネントの値
publishRegistryAuthentication
publishRegistryAuthenticationレコードコンポーネントの値を返します。- 戻り値:
publishRegistryAuthenticationレコードコンポーネントの値