Class RegistrationParameter
java.lang.Object
com.azure.resourcemanager.azurestack.models.RegistrationParameter
Registration resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlocation()
Get the location property: Location of the resource.Get the registrationToken property: The token identifying registered Azure Stack.void
validate()
Validates the instance.withLocation
(Location location) Set the location property: Location of the resource.withRegistrationToken
(String registrationToken) Set the registrationToken property: The token identifying registered Azure Stack.
-
Constructor Details
-
RegistrationParameter
public RegistrationParameter()Creates an instance of RegistrationParameter class.
-
-
Method Details
-
location
Get the location property: Location of the resource.- Returns:
- the location value.
-
withLocation
Set the location property: Location of the resource.- Parameters:
location
- the location value to set.- Returns:
- the RegistrationParameter object itself.
-
registrationToken
Get the registrationToken property: The token identifying registered Azure Stack.- Returns:
- the registrationToken value.
-
withRegistrationToken
Set the registrationToken property: The token identifying registered Azure Stack.- Parameters:
registrationToken
- the registrationToken value to set.- Returns:
- the RegistrationParameter object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-