ApplicationGatewayFrontendPort Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. ApplicationGatewayFrontendPort
- com.
- com.
public final class ApplicationGatewayFrontendPort
extends SubResource
Frontend port of an application gateway.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayFrontendPort() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
String |
name()
Get the name property: Name of the frontend port that is unique within an Application Gateway. |
Integer |
port()
Get the port property: Frontend port. |
Provisioning |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of the resource. |
void |
validate()
Validates the instance. |
Application |
withId(String id) |
Application |
withName(String name)
Set the name property: Name of the frontend port that is unique within an Application Gateway. |
Application |
withPort(Integer port)
Set the port property: Frontend port. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayFrontendPort
public ApplicationGatewayFrontendPort()
Creates an instance of ApplicationGatewayFrontendPort class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ApplicationGatewayFrontendPort fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayFrontendPort from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the frontend port that is unique within an Application Gateway.
Returns:
port
public Integer port()
Get the port property: Frontend port.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the frontend port resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationGatewayFrontendPort.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of the resource.
Returns:
validate
public void validate()
Validates the instance.
withId
public ApplicationGatewayFrontendPort withId(String id)
Overrides:
ApplicationGatewayFrontendPort.withId(String id)Parameters:
withName
public ApplicationGatewayFrontendPort withName(String name)
Set the name property: Name of the frontend port that is unique within an Application Gateway.
Parameters:
Returns:
withPort
public ApplicationGatewayFrontendPort withPort(Integer port)
Set the port property: Frontend port.
Parameters:
Returns:
Applies to
Azure SDK for Java