Class RegistrationInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.azurestack.fluent.models.RegistrationInner
public final class RegistrationInner
extends com.azure.core.management.Resource
Registration information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the billingModel property: Specifies the billing mode for the Azure Stack registration.cloudId()
Get the cloudId property: The identifier of the registered Azure Stack.etag()
Get the etag property: The entity tag used for optimistic concurrency when modifying the resource.objectId()
Get the objectId property: The object identifier associated with the Azure Stack connecting to Azure.void
validate()
Validates the instance.withBillingModel
(String billingModel) Set the billingModel property: Specifies the billing mode for the Azure Stack registration.withCloudId
(String cloudId) Set the cloudId property: The identifier of the registered Azure Stack.Set the etag property: The entity tag used for optimistic concurrency when modifying the resource.withLocation
(String location) withObjectId
(String objectId) Set the objectId property: The object identifier associated with the Azure Stack connecting to Azure.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
RegistrationInner
public RegistrationInner()Creates an instance of RegistrationInner class.
-
-
Method Details
-
etag
Get the etag property: The entity tag used for optimistic concurrency when modifying the resource.- Returns:
- the etag value.
-
withEtag
Set the etag property: The entity tag used for optimistic concurrency when modifying the resource.- Parameters:
etag
- the etag value to set.- Returns:
- the RegistrationInner object itself.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
objectId
Get the objectId property: The object identifier associated with the Azure Stack connecting to Azure.- Returns:
- the objectId value.
-
withObjectId
Set the objectId property: The object identifier associated with the Azure Stack connecting to Azure.- Parameters:
objectId
- the objectId value to set.- Returns:
- the RegistrationInner object itself.
-
cloudId
Get the cloudId property: The identifier of the registered Azure Stack.- Returns:
- the cloudId value.
-
withCloudId
Set the cloudId property: The identifier of the registered Azure Stack.- Parameters:
cloudId
- the cloudId value to set.- Returns:
- the RegistrationInner object itself.
-
billingModel
Get the billingModel property: Specifies the billing mode for the Azure Stack registration.- Returns:
- the billingModel value.
-
withBillingModel
Set the billingModel property: Specifies the billing mode for the Azure Stack registration.- Parameters:
billingModel
- the billingModel value to set.- Returns:
- the RegistrationInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-