Compartilhar via


ProviderInner Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.fluent.models.ProviderInner

Implements

public final class ProviderInner
implements JsonSerializable<ProviderInner>

Resource provider information.

Constructor Summary

Constructor Description
ProviderInner()

Creates an instance of ProviderInner class.

Method Summary

Modifier and Type Method and Description
static ProviderInner fromJson(JsonReader jsonReader)

Reads an instance of ProviderInner from the JsonReader.

String id()

Get the id property: The provider ID.

String namespace()

Get the namespace property: The namespace of the resource provider.

ProviderAuthorizationConsentState providerAuthorizationConsentState()

Get the providerAuthorizationConsentState property: The provider authorization consent state.

String registrationPolicy()

Get the registrationPolicy property: The registration policy of the resource provider.

String registrationState()

Get the registrationState property: The registration state of the resource provider.

List<ProviderResourceType> resourceTypes()

Get the resourceTypes property: The collection of provider resource types.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ProviderInner withNamespace(String namespace)

Set the namespace property: The namespace of the resource provider.

ProviderInner withProviderAuthorizationConsentState(ProviderAuthorizationConsentState providerAuthorizationConsentState)

Set the providerAuthorizationConsentState property: The provider authorization consent state.

Methods inherited from java.lang.Object

Constructor Details

ProviderInner

public ProviderInner()

Creates an instance of ProviderInner class.

Method Details

fromJson

public static ProviderInner fromJson(JsonReader jsonReader)

Reads an instance of ProviderInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProviderInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ProviderInner.

id

public String id()

Get the id property: The provider ID.

Returns:

the id value.

namespace

public String namespace()

Get the namespace property: The namespace of the resource provider.

Returns:

the namespace value.

providerAuthorizationConsentState

public ProviderAuthorizationConsentState providerAuthorizationConsentState()

Get the providerAuthorizationConsentState property: The provider authorization consent state.

Returns:

the providerAuthorizationConsentState value.

registrationPolicy

public String registrationPolicy()

Get the registrationPolicy property: The registration policy of the resource provider.

Returns:

the registrationPolicy value.

registrationState

public String registrationState()

Get the registrationState property: The registration state of the resource provider.

Returns:

the registrationState value.

resourceTypes

public List resourceTypes()

Get the resourceTypes property: The collection of provider resource types.

Returns:

the resourceTypes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withNamespace

public ProviderInner withNamespace(String namespace)

Set the namespace property: The namespace of the resource provider.

Parameters:

namespace - the namespace value to set.

Returns:

the ProviderInner object itself.

withProviderAuthorizationConsentState

public ProviderInner withProviderAuthorizationConsentState(ProviderAuthorizationConsentState providerAuthorizationConsentState)

Set the providerAuthorizationConsentState property: The provider authorization consent state.

Parameters:

providerAuthorizationConsentState - the providerAuthorizationConsentState value to set.

Returns:

the ProviderInner object itself.

Applies to