Class WorkbookResource
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.applicationinsights.models.WorkbookResource
-
- Direct Known Subclasses:
WorkbookInner
public class WorkbookResource extends com.azure.core.management.Resource
An azure resource object.
-
-
Constructor Summary
Constructors Constructor Description WorkbookResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
etag()
Get the etag property: Resource etag.WorkbookResourceIdentity
identity()
Get the identity property: Identity used for BYOS.Kind
kind()
Get the kind property: The kind of workbook.void
validate()
Validates the instance.WorkbookResource
withEtag(String etag)
Set the etag property: Resource etag.WorkbookResource
withIdentity(WorkbookResourceIdentity identity)
Set the identity property: Identity used for BYOS.WorkbookResource
withKind(Kind kind)
Set the kind property: The kind of workbook.WorkbookResource
withLocation(String location)
WorkbookResource
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
identity
public WorkbookResourceIdentity identity()
Get the identity property: Identity used for BYOS.- Returns:
- the identity value.
-
withIdentity
public WorkbookResource withIdentity(WorkbookResourceIdentity identity)
Set the identity property: Identity used for BYOS.- Parameters:
identity
- the identity value to set.- Returns:
- the WorkbookResource object itself.
-
kind
public Kind kind()
Get the kind property: The kind of workbook. Only valid value is shared.- Returns:
- the kind value.
-
withKind
public WorkbookResource withKind(Kind kind)
Set the kind property: The kind of workbook. Only valid value is shared.- Parameters:
kind
- the kind value to set.- Returns:
- the WorkbookResource object itself.
-
etag
public String etag()
Get the etag property: Resource etag.- Returns:
- the etag value.
-
withEtag
public WorkbookResource withEtag(String etag)
Set the etag property: Resource etag.- Parameters:
etag
- the etag value to set.- Returns:
- the WorkbookResource object itself.
-
withLocation
public WorkbookResource withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public WorkbookResource withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-