ApplicationGatewayFrontendPort Class

public final class ApplicationGatewayFrontendPort
extends SubResource

Frontend port of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayFrontendPort()

Creates an instance of ApplicationGatewayFrontendPort class.

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.

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.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the frontend port resource.

String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

ApplicationGatewayFrontendPort withId(String id)
ApplicationGatewayFrontendPort withName(String name)

Set the name property: Name of the frontend port that is unique within an Application Gateway.

ApplicationGatewayFrontendPort 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:

the etag value.

name

public String name()

Get the name property: Name of the frontend port that is unique within an Application Gateway.

Returns:

the name value.

port

public Integer port()

Get the port property: Frontend port.

Returns:

the port value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the frontend port resource.

Returns:

the provisioningState value.

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public ApplicationGatewayFrontendPort withId(String id)

Overrides:

ApplicationGatewayFrontendPort.withId(String id)

Parameters:

id

withName

public ApplicationGatewayFrontendPort withName(String name)

Set the name property: Name of the frontend port that is unique within an Application Gateway.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayFrontendPort object itself.

withPort

public ApplicationGatewayFrontendPort withPort(Integer port)

Set the port property: Frontend port.

Parameters:

port - the port value to set.

Returns:

the ApplicationGatewayFrontendPort object itself.

Applies to