Class AuthorizationPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.AuthorizationPropertiesFormat
Properties of ExpressRouteCircuitAuthorization.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AuthorizationPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authorizationKey property: The authorization key.Get the authorizationUseStatus property: The authorization use status.Get the provisioningState property: The provisioning state of the authorization resource.voidvalidate()Validates the instance.withAuthorizationKey(String authorizationKey) Set the authorizationKey property: The authorization key.withAuthorizationUseStatus(AuthorizationUseStatus authorizationUseStatus) Set the authorizationUseStatus property: The authorization use status.
-
Constructor Details
-
AuthorizationPropertiesFormat
public AuthorizationPropertiesFormat()Creates an instance of AuthorizationPropertiesFormat class.
-
-
Method Details
-
authorizationKey
Get the authorizationKey property: The authorization key.- Returns:
- the authorizationKey value.
-
withAuthorizationKey
Set the authorizationKey property: The authorization key.- Parameters:
authorizationKey- the authorizationKey value to set.- Returns:
- the AuthorizationPropertiesFormat object itself.
-
authorizationUseStatus
Get the authorizationUseStatus property: The authorization use status.- Returns:
- the authorizationUseStatus value.
-
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.
-
provisioningState
Get the provisioningState property: The provisioning state of the authorization resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-