Class MyWorkbookResource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.applicationinsights.models.MyWorkbookResource
- Direct Known Subclasses:
MyWorkbookInner
public class MyWorkbookResource
extends com.azure.core.management.Resource
An azure resource object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionetag()Get the etag property: Resource etag.id()Get the id property: Azure resource Id.identity()Get the identity property: Identity used for BYOS.name()Get the name property: Azure resource name.type()Get the type property: Azure resource type.voidvalidate()Validates the instance.Set the etag property: Resource etag.Set the id property: Azure resource Id.withIdentity(MyWorkbookManagedIdentity identity) Set the identity property: Identity used for BYOS.withLocation(String location) Set the name property: Azure resource name.Set the type property: Azure resource type.Methods inherited from class com.azure.core.management.Resource
location, tags
-
Constructor Details
-
MyWorkbookResource
public MyWorkbookResource()
-
-
Method Details
-
identity
Get the identity property: Identity used for BYOS.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Identity used for BYOS.- Parameters:
identity- the identity value to set.- Returns:
- the MyWorkbookResource object itself.
-
id
Get the id property: Azure resource Id.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
Set the id property: Azure resource Id.- Parameters:
id- the id value to set.- Returns:
- the MyWorkbookResource object itself.
-
name
Get the name property: Azure resource name.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
withName
Set the name property: Azure resource name.- Parameters:
name- the name value to set.- Returns:
- the MyWorkbookResource object itself.
-
type
Get the type property: Azure resource type.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
withType
Set the type property: Azure resource type.- Parameters:
type- the type value to set.- Returns:
- the MyWorkbookResource object itself.
-
etag
Get the etag property: Resource etag.- Returns:
- the etag value.
-
withEtag
Set the etag property: Resource etag.- Parameters:
etag- the etag value to set.- Returns:
- the MyWorkbookResource object itself.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-