public class LinkedSubscriptionParameter extends Object
| Constructor and Description |
|---|
LinkedSubscriptionParameter() |
| Modifier and Type | Method and Description |
|---|---|
String |
linkedSubscriptionId()
Get the linkedSubscriptionId property: The identifier associated with the device subscription.
|
Location |
location()
Get the location property: Location of the resource.
|
String |
registrationResourceId()
Get the registrationResourceId property: The identifier associated with the device registration.
|
void |
validate()
Validates the instance.
|
LinkedSubscriptionParameter |
withLinkedSubscriptionId(String linkedSubscriptionId)
Set the linkedSubscriptionId property: The identifier associated with the device subscription.
|
LinkedSubscriptionParameter |
withLocation(Location location)
Set the location property: Location of the resource.
|
LinkedSubscriptionParameter |
withRegistrationResourceId(String registrationResourceId)
Set the registrationResourceId property: The identifier associated with the device registration.
|
public Location location()
public LinkedSubscriptionParameter withLocation(Location location)
location - the location value to set.public String linkedSubscriptionId()
public LinkedSubscriptionParameter withLinkedSubscriptionId(String linkedSubscriptionId)
linkedSubscriptionId - the linkedSubscriptionId value to set.public String registrationResourceId()
public LinkedSubscriptionParameter withRegistrationResourceId(String registrationResourceId)
registrationResourceId - the registrationResourceId value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.