次の方法で共有


ProviderOperationsMetadataInner Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.ProviderOperationsMetadataInner

Implements

public final class ProviderOperationsMetadataInner
implements JsonSerializable<ProviderOperationsMetadataInner>

Provider Operations metadata.

Constructor Summary

Constructor Description
ProviderOperationsMetadataInner()

Creates an instance of ProviderOperationsMetadataInner class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: The provider display name.

static ProviderOperationsMetadataInner fromJson(JsonReader jsonReader)

Reads an instance of ProviderOperationsMetadataInner from the JsonReader.

String id()

Get the id property: The provider id.

String name()

Get the name property: The provider name.

List<ProviderOperation> operations()

Get the operations property: The provider operations.

List<ResourceType> resourceTypes()

Get the resourceTypes property: The provider resource types.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The provider type.

void validate()

Validates the instance.

ProviderOperationsMetadataInner withDisplayName(String displayName)

Set the displayName property: The provider display name.

ProviderOperationsMetadataInner withId(String id)

Set the id property: The provider id.

ProviderOperationsMetadataInner withName(String name)

Set the name property: The provider name.

ProviderOperationsMetadataInner withOperations(List<ProviderOperation> operations)

Set the operations property: The provider operations.

ProviderOperationsMetadataInner withResourceTypes(List<ResourceType> resourceTypes)

Set the resourceTypes property: The provider resource types.

ProviderOperationsMetadataInner withType(String type)

Set the type property: The provider type.

Methods inherited from java.lang.Object

Constructor Details

ProviderOperationsMetadataInner

public ProviderOperationsMetadataInner()

Creates an instance of ProviderOperationsMetadataInner class.

Method Details

displayName

public String displayName()

Get the displayName property: The provider display name.

Returns:

the displayName value.

fromJson

public static ProviderOperationsMetadataInner fromJson(JsonReader jsonReader)

Reads an instance of ProviderOperationsMetadataInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProviderOperationsMetadataInner 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 ProviderOperationsMetadataInner.

id

public String id()

Get the id property: The provider id.

Returns:

the id value.

name

public String name()

Get the name property: The provider name.

Returns:

the name value.

operations

public List operations()

Get the operations property: The provider operations.

Returns:

the operations value.

resourceTypes

public List resourceTypes()

Get the resourceTypes property: The provider resource types.

Returns:

the resourceTypes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The provider type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDisplayName

public ProviderOperationsMetadataInner withDisplayName(String displayName)

Set the displayName property: The provider display name.

Parameters:

displayName - the displayName value to set.

Returns:

the ProviderOperationsMetadataInner object itself.

withId

public ProviderOperationsMetadataInner withId(String id)

Set the id property: The provider id.

Parameters:

id - the id value to set.

Returns:

the ProviderOperationsMetadataInner object itself.

withName

public ProviderOperationsMetadataInner withName(String name)

Set the name property: The provider name.

Parameters:

name - the name value to set.

Returns:

the ProviderOperationsMetadataInner object itself.

withOperations

public ProviderOperationsMetadataInner withOperations(List operations)

Set the operations property: The provider operations.

Parameters:

operations - the operations value to set.

Returns:

the ProviderOperationsMetadataInner object itself.

withResourceTypes

public ProviderOperationsMetadataInner withResourceTypes(List resourceTypes)

Set the resourceTypes property: The provider resource types.

Parameters:

resourceTypes - the resourceTypes value to set.

Returns:

the ProviderOperationsMetadataInner object itself.

withType

public ProviderOperationsMetadataInner withType(String type)

Set the type property: The provider type.

Parameters:

type - the type value to set.

Returns:

the ProviderOperationsMetadataInner object itself.

Applies to