public class RegistrationParameter extends Object
| Constructor and Description |
|---|
RegistrationParameter() |
| Modifier and Type | Method and Description |
|---|---|
Location |
location()
Get the location property: Location of the resource.
|
String |
registrationToken()
Get the registrationToken property: The token identifying registered Azure Stack.
|
void |
validate()
Validates the instance.
|
RegistrationParameter |
withLocation(Location location)
Set the location property: Location of the resource.
|
RegistrationParameter |
withRegistrationToken(String registrationToken)
Set the registrationToken property: The token identifying registered Azure Stack.
|
public Location location()
public RegistrationParameter withLocation(Location location)
location - the location value to set.public String registrationToken()
public RegistrationParameter withRegistrationToken(String registrationToken)
registrationToken - the registrationToken value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.