ServicesResource Class

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.

ServicesResourceIdentity 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.

ServicesResource withEtag(String etag)

Set the etag property: An etag associated with the resource, used for optimistic concurrency when editing it.

ServicesResource withIdentity(ServicesResourceIdentity identity)

Set the identity property: Setting indicating whether the service has a managed identity associated with it.

ServicesResource withKind(Kind kind)

Set the kind property: The kind of the service.

ServicesResource withLocation(String location)
ServicesResource 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:

the etag value.

identity

public ServicesResourceIdentity identity()

Get the identity property: Setting indicating whether the service has a managed identity associated with it.

Returns:

the identity value.

kind

public Kind kind()

Get the kind property: The kind of the service.

Returns:

the kind value.

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:

etag - the etag value to set.

Returns:

the ServicesResource object itself.

withIdentity

public ServicesResource withIdentity(ServicesResourceIdentity identity)

Set the identity property: Setting indicating whether the service has a managed identity associated with it.

Parameters:

identity - the identity value to set.

Returns:

the ServicesResource object itself.

withKind

public ServicesResource withKind(Kind kind)

Set the kind property: The kind of the service.

Parameters:

kind - the kind value to set.

Returns:

the ServicesResource object itself.

withLocation

public ServicesResource withLocation(String location)

Overrides:

ServicesResource.withLocation(String location)

Parameters:

location

withTags

public ServicesResource withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to