次の方法で共有


TrafficManagerEndpoint.UpdateStages.WithCustomHeader インターフェイス

public static interface TrafficManagerEndpoint.UpdateStages.WithCustomHeader

カスタム ヘッダーを指定できる Traffic Manager エンドポイント更新のステージ。

メソッドの概要

修飾子と型 メソッドと説明
abstract Update withCustomHeader(String name, String value)

カスタム ヘッダーを追加します。

abstract Update withCustomHeaders(Map<String,String> headers)

カスタム ヘッダーを追加します。

abstract Update withoutCustomHeader(String name)

カスタム ヘッダーを削除します。

メソッドの詳細

withCustomHeader

public abstract TrafficManagerEndpoint.Update withCustomHeader(String name, String value)

カスタム ヘッダーを追加します。

Parameters:

name - ヘッダー名
value - ヘッダー値

Returns:

更新プログラムの次のステージ

withCustomHeaders

public abstract TrafficManagerEndpoint.Update withCustomHeaders(Map headers)

カスタム ヘッダーを追加します。 このメソッドは、現在のヘッダーを指定されたヘッダーに置き換えます。

Parameters:

headers - ヘッダー名と値のペアを含むマップ

Returns:

更新プログラムの次のステージ

withoutCustomHeader

public abstract TrafficManagerEndpoint.Update withoutCustomHeader(String name)

カスタム ヘッダーを削除します。

Parameters:

name - 削除するヘッダーの名前

Returns:

更新プログラムの次のステージ

適用対象