Class AuthorizationPropertiesFormat
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.AuthorizationPropertiesFormat
-
public final class AuthorizationPropertiesFormat extends Object
Properties of ExpressRouteCircuitAuthorization.
-
-
Constructor Summary
Constructors Constructor Description AuthorizationPropertiesFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringauthorizationKey()Get the authorizationKey property: The authorization key.AuthorizationUseStatusauthorizationUseStatus()Get the authorizationUseStatus property: The authorization use status.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the authorization resource.voidvalidate()Validates the instance.AuthorizationPropertiesFormatwithAuthorizationKey(String authorizationKey)Set the authorizationKey property: The authorization key.AuthorizationPropertiesFormatwithAuthorizationUseStatus(AuthorizationUseStatus authorizationUseStatus)Set the authorizationUseStatus property: The authorization use status.
-
-
-
Method Detail
-
authorizationKey
public String authorizationKey()
Get the authorizationKey property: The authorization key.- Returns:
- the authorizationKey value.
-
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.
-
authorizationUseStatus
public AuthorizationUseStatus 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
public ProvisioningState 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.
-
-