AuthorizationPropertiesFormat Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.AuthorizationPropertiesFormat

Implements

public final class AuthorizationPropertiesFormat
implements JsonSerializable<AuthorizationPropertiesFormat>

Properties of ExpressRouteCircuitAuthorization.

Constructor Summary

Constructor Description
AuthorizationPropertiesFormat()

Creates an instance of AuthorizationPropertiesFormat class.

Method Summary

Modifier and Type Method and Description
String authorizationKey()

Get the authorizationKey property: The authorization key.

AuthorizationUseStatus authorizationUseStatus()

Get the authorizationUseStatus property: The authorization use status.

String connectionResourceUri()

Get the connectionResourceUri property: The reference to the ExpressRoute connection resource using the authorization.

static AuthorizationPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of AuthorizationPropertiesFormat from the JsonReader.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the authorization resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AuthorizationPropertiesFormat withAuthorizationKey(String authorizationKey)

Set the authorizationKey property: The authorization key.

AuthorizationPropertiesFormat withAuthorizationUseStatus(AuthorizationUseStatus authorizationUseStatus)

Set the authorizationUseStatus property: The authorization use status.

Methods inherited from java.lang.Object

Constructor Details

AuthorizationPropertiesFormat

public AuthorizationPropertiesFormat()

Creates an instance of AuthorizationPropertiesFormat class.

Method Details

authorizationKey

public String authorizationKey()

Get the authorizationKey property: The authorization key.

Returns:

the authorizationKey value.

authorizationUseStatus

public AuthorizationUseStatus authorizationUseStatus()

Get the authorizationUseStatus property: The authorization use status.

Returns:

the authorizationUseStatus value.

connectionResourceUri

public String connectionResourceUri()

Get the connectionResourceUri property: The reference to the ExpressRoute connection resource using the authorization.

Returns:

the connectionResourceUri value.

fromJson

public static AuthorizationPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of AuthorizationPropertiesFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AuthorizationPropertiesFormat if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AuthorizationPropertiesFormat.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the authorization resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAuthorizationKey

public AuthorizationPropertiesFormat withAuthorizationKey(String authorizationKey)

Set the authorizationKey property: The authorization key.

Parameters:

authorizationKey - the authorizationKey value to set.

Returns:

the AuthorizationPropertiesFormat object itself.

withAuthorizationUseStatus

public AuthorizationPropertiesFormat withAuthorizationUseStatus(AuthorizationUseStatus authorizationUseStatus)

Set the authorizationUseStatus property: The authorization use status.

Parameters:

authorizationUseStatus - the authorizationUseStatus value to set.

Returns:

the AuthorizationPropertiesFormat object itself.

Applies to