ServicesResource Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. healthcareapis. models. ServicesResource
- com.
- com.
- com.
public class ServicesResource
extends Resource
The common properties of a service.
Constructor Summary
Constructor | Description | |
---|---|---|
ServicesResource() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: An etag associated with the resource, used for optimistic concurrency when editing it. |
Services |
identity()
Get the identity property: Setting indicating whether the service has a managed identity associated with it. |
Kind |
kind()
Get the kind property: The kind of the service. |
void |
validate()
Validates the instance. |
Services |
withEtag(String etag)
Set the etag property: An etag associated with the resource, used for optimistic concurrency when editing it. |
Services |
withIdentity(ServicesResourceIdentity identity)
Set the identity property: Setting indicating whether the service has a managed identity associated with it. |
Services |
withKind(Kind kind)
Set the kind property: The kind of the service. |
Services |
withLocation(String location) |
Services |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ServicesResource
public ServicesResource()
Method Details
etag
public String etag()
Get the etag property: An etag associated with the resource, used for optimistic concurrency when editing it.
Returns:
identity
public ServicesResourceIdentity identity()
Get the identity property: Setting indicating whether the service has a managed identity associated with it.
Returns:
kind
public Kind kind()
Get the kind property: The kind of the service.
Returns:
validate
public void validate()
Validates the instance.
withEtag
public ServicesResource withEtag(String etag)
Set the etag property: An etag associated with the resource, used for optimistic concurrency when editing it.
Parameters:
Returns:
withIdentity
public ServicesResource withIdentity(ServicesResourceIdentity identity)
Set the identity property: Setting indicating whether the service has a managed identity associated with it.
Parameters:
Returns:
withKind
public ServicesResource withKind(Kind kind)
Set the kind property: The kind of the service.
Parameters:
Returns:
withLocation
public ServicesResource withLocation(String location)
Overrides:
ServicesResource.withLocation(String location)Parameters:
withTags
public ServicesResource withTags(Map
Overrides:
ServicesResource.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for