Class JobResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.recoveryservicesbackup.fluent.models.JobResourceInner
-
public final class JobResourceInner extends com.azure.core.management.Resource
Defines workload agnostic properties for a job.
-
-
Constructor Summary
Constructors Constructor Description JobResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
etag()
Get the etag property: Optional ETag.Job
properties()
Get the properties property: JobResource properties.void
validate()
Validates the instance.JobResourceInner
withEtag(String etag)
Set the etag property: Optional ETag.JobResourceInner
withLocation(String location)
JobResourceInner
withProperties(Job properties)
Set the properties property: JobResource properties.JobResourceInner
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
properties
public Job properties()
Get the properties property: JobResource properties.- Returns:
- the properties value.
-
withProperties
public JobResourceInner withProperties(Job properties)
Set the properties property: JobResource properties.- Parameters:
properties
- the properties value to set.- Returns:
- the JobResourceInner object itself.
-
etag
public String etag()
Get the etag property: Optional ETag.- Returns:
- the etag value.
-
withEtag
public JobResourceInner withEtag(String etag)
Set the etag property: Optional ETag.- Parameters:
etag
- the etag value to set.- Returns:
- the JobResourceInner object itself.
-
withLocation
public JobResourceInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public JobResourceInner 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.
-
-