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