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 Constructor Description MyWorkbookResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
etag()
Get the etag property: Resource etag.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.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.
-
-
-
Method Detail
-
identity
public MyWorkbookManagedIdentity identity()
Get the identity property: Identity used for BYOS.- Returns:
- the identity value.
-
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.
-
id
public String id()
Get the id property: Azure resource Id.- Overrides:
id
in classcom.azure.core.management.ProxyResource
- Returns:
- the id value.
-
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.
-
name
public String name()
Get the name property: Azure resource name.- Overrides:
name
in classcom.azure.core.management.ProxyResource
- Returns:
- the name value.
-
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.
-
type
public String type()
Get the type property: Azure resource type.- Overrides:
type
in classcom.azure.core.management.ProxyResource
- Returns:
- the type value.
-
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.
-
etag
public Map<String,String> etag()
Get the etag property: Resource etag.- Returns:
- the etag value.
-
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.
-
withLocation
public MyWorkbookResource withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public MyWorkbookResource 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.
-
-