次の方法で共有


TrafficManagerEndpoint.DefinitionStages.WithCustomHeader<ParentT> インターフェイス

型パラメーター

ParentT

の戻り値の型 WithAttach#attach()

public static interface TrafficManagerEndpoint.DefinitionStages.WithCustomHeader

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

メソッドの概要

修飾子と型 メソッドと説明
abstract WithAttach<ParentT> withCustomHeader(String name, String value)

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

abstract WithAttach<ParentT> withCustomHeaders(Map<String,String> headerValues)

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

メソッドの詳細

withCustomHeader

public abstract TrafficManagerEndpoint.DefinitionStages.WithAttach withCustomHeader(String name, String value)

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

Parameters:

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

Returns:

定義の次のステージ

withCustomHeaders

public abstract TrafficManagerEndpoint.DefinitionStages.WithAttach withCustomHeaders(Map headerValues)

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

Parameters:

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

Returns:

定義の次のステージ

適用対象