public class ForwardProxy extends ProxyOnlyResource
| Constructor and Description |
|---|
ForwardProxy() |
| Modifier and Type | Method and Description |
|---|---|
ForwardProxyConvention |
convention()
Get the convention property: The convention property.
|
String |
customHostHeaderName()
Get the customHostHeaderName property: The customHostHeaderName property.
|
String |
customProtoHeaderName()
Get the customProtoHeaderName property: The customProtoHeaderName property.
|
void |
validate()
Validates the instance.
|
ForwardProxy |
withConvention(ForwardProxyConvention convention)
Set the convention property: The convention property.
|
ForwardProxy |
withCustomHostHeaderName(String customHostHeaderName)
Set the customHostHeaderName property: The customHostHeaderName property.
|
ForwardProxy |
withCustomProtoHeaderName(String customProtoHeaderName)
Set the customProtoHeaderName property: The customProtoHeaderName property.
|
ForwardProxy |
withKind(String kind)
Set the kind property: Kind of resource.
|
kindpublic ForwardProxyConvention convention()
public ForwardProxy withConvention(ForwardProxyConvention convention)
convention - the convention value to set.public String customHostHeaderName()
public ForwardProxy withCustomHostHeaderName(String customHostHeaderName)
customHostHeaderName - the customHostHeaderName value to set.public String customProtoHeaderName()
public ForwardProxy withCustomProtoHeaderName(String customProtoHeaderName)
customProtoHeaderName - the customProtoHeaderName value to set.public ForwardProxy withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.