RegistrationParameter Class
- java.
lang. Object - com.
azure. resourcemanager. azurestack. models. RegistrationParameter
- com.
Implements
public final class RegistrationParameter
implements JsonSerializable<RegistrationParameter>
Registration resource.
Constructor Summary
| Constructor | Description |
|---|---|
| RegistrationParameter() |
Creates an instance of Registration |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Registration |
fromJson(JsonReader jsonReader)
Reads an instance of Registration |
| Location |
location()
Get the location property: Location of the resource. |
| String |
registrationToken()
Get the registration |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Registration |
withLocation(Location location)
Set the location property: Location of the resource. |
|
Registration |
withRegistrationToken(String registrationToken)
Set the registration |
Methods inherited from java.lang.Object
Constructor Details
RegistrationParameter
public RegistrationParameter()
Creates an instance of RegistrationParameter class.
Method Details
fromJson
public static RegistrationParameter fromJson(JsonReader jsonReader)
Reads an instance of RegistrationParameter from the JsonReader.
Parameters:
Returns:
Throws:
location
public Location location()
Get the location property: Location of the resource.
Returns:
registrationToken
public String registrationToken()
Get the registrationToken property: The token identifying registered Azure Stack.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLocation
public RegistrationParameter withLocation(Location location)
Set the location property: Location of the resource.
Parameters:
Returns:
withRegistrationToken
public RegistrationParameter withRegistrationToken(String registrationToken)
Set the registrationToken property: The token identifying registered Azure Stack.
Parameters:
Returns: