次の方法で共有


MyWorkbookResource Class

public class MyWorkbookResource
extends Resource

An azure resource object.

Constructor Summary

Constructor Description
MyWorkbookResource()

Creates an instance of MyWorkbookResource class.

Method Summary

Modifier and Type Method and Description
Map<String,String> etag()

Get the etag property: Resource etag.

static MyWorkbookResource fromJson(JsonReader jsonReader)

Reads an instance of MyWorkbookResource from the JsonReader.

String id()

Get the id property: Azure resource Id.

MyWorkbookManagedIdentity identity()

Get the identity property: Identity used for BYOS.

String name()

Get the name property: Azure resource name.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Azure resource type.

void validate()

Validates the instance.

MyWorkbookResource withEtag(Map<String,String> etag)

Set the etag property: Resource etag.

MyWorkbookResource withId(String id)

Set the id property: Azure resource Id.

MyWorkbookResource withIdentity(MyWorkbookManagedIdentity identity)

Set the identity property: Identity used for BYOS.

MyWorkbookResource withLocation(String location)
MyWorkbookResource withName(String name)

Set the name property: Azure resource name.

MyWorkbookResource withTags(Map<String,String> tags)
MyWorkbookResource withType(String type)

Set the type property: Azure resource type.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

MyWorkbookResource

public MyWorkbookResource()

Creates an instance of MyWorkbookResource class.

Method Details

etag

public Map<String,String> etag()

Get the etag property: Resource etag.

Returns:

the etag value.

fromJson

public static MyWorkbookResource fromJson(JsonReader jsonReader)

Reads an instance of MyWorkbookResource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Azure resource Id.

Overrides:

MyWorkbookResource.id()

Returns:

the id value.

identity

public MyWorkbookManagedIdentity identity()

Get the identity property: Identity used for BYOS.

Returns:

the identity value.

name

public String name()

Get the name property: Azure resource name.

Overrides:

MyWorkbookResource.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MyWorkbookResource.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Azure resource type.

Overrides:

MyWorkbookResource.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withEtag

public MyWorkbookResource withEtag(Map<String,String> etag)

Set the etag property: Resource etag.

Parameters:

etag - the etag value to set.

Returns:

the MyWorkbookResource object itself.

withId

public MyWorkbookResource withId(String id)

Set the id property: Azure resource Id.

Parameters:

id - the id value to set.

Returns:

the MyWorkbookResource object itself.

withIdentity

public MyWorkbookResource withIdentity(MyWorkbookManagedIdentity identity)

Set the identity property: Identity used for BYOS.

Parameters:

identity - the identity value to set.

Returns:

the MyWorkbookResource object itself.

withLocation

public MyWorkbookResource withLocation(String location)

Overrides:

MyWorkbookResource.withLocation(String location)

Parameters:

location

withName

public MyWorkbookResource withName(String name)

Set the name property: Azure resource name.

Parameters:

name - the name value to set.

Returns:

the MyWorkbookResource object itself.

withTags

public MyWorkbookResource withTags(Map<String,String> tags)

Overrides:

MyWorkbookResource.withTags(Map<String,String> tags)

Parameters:

tags

withType

public MyWorkbookResource withType(String type)

Set the type property: Azure resource type.

Parameters:

type - the type value to set.

Returns:

the MyWorkbookResource object itself.

Applies to