public final class ContainerHttpGet extends Object
| Constructor and Description |
|---|
ContainerHttpGet() |
| Modifier and Type | Method and Description |
|---|---|
HttpHeaders |
httpHeaders()
Get the httpHeaders property: The HTTP headers.
|
String |
path()
Get the path property: The path to probe.
|
int |
port()
Get the port property: The port number to probe.
|
Scheme |
scheme()
Get the scheme property: The scheme.
|
void |
validate()
Validates the instance.
|
ContainerHttpGet |
withHttpHeaders(HttpHeaders httpHeaders)
Set the httpHeaders property: The HTTP headers.
|
ContainerHttpGet |
withPath(String path)
Set the path property: The path to probe.
|
ContainerHttpGet |
withPort(int port)
Set the port property: The port number to probe.
|
ContainerHttpGet |
withScheme(Scheme scheme)
Set the scheme property: The scheme.
|
public String path()
public ContainerHttpGet withPath(String path)
path - the path value to set.public int port()
public ContainerHttpGet withPort(int port)
port - the port value to set.public Scheme scheme()
public ContainerHttpGet withScheme(Scheme scheme)
scheme - the scheme value to set.public HttpHeaders httpHeaders()
public ContainerHttpGet withHttpHeaders(HttpHeaders httpHeaders)
httpHeaders - the httpHeaders value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.