OperationInner Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. OperationInner
- com.
Implements
public final class OperationInner
implements JsonSerializable<OperationInner>
An operation on a resource.
Constructor Summary
Constructor | Description |
---|---|
OperationInner() |
Creates an instance of Operation |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
createdTime()
Get the created |
List<Error |
errors()
Get the errors property: Any errors associate with the operation. |
Offset |
expirationTime()
Get the expiration |
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
UUID |
geoMasterOperationId()
Get the geo |
String |
id()
Get the id property: Operation ID. |
Offset |
modifiedTime()
Get the modified |
String |
name()
Get the name property: Operation name. |
Operation |
status()
Get the status property: The current status of the operation. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Operation |
withCreatedTime(OffsetDateTime createdTime)
Set the created |
Operation |
withErrors(List<ErrorEntity> errors)
Set the errors property: Any errors associate with the operation. |
Operation |
withExpirationTime(OffsetDateTime expirationTime)
Set the expiration |
Operation |
withGeoMasterOperationId(UUID geoMasterOperationId)
Set the geo |
Operation |
withId(String id)
Set the id property: Operation ID. |
Operation |
withModifiedTime(OffsetDateTime modifiedTime)
Set the modified |
Operation |
withName(String name)
Set the name property: Operation name. |
Operation |
withStatus(OperationStatus status)
Set the status property: The current status of the operation. |
Methods inherited from java.lang.Object
Constructor Details
OperationInner
public OperationInner()
Creates an instance of OperationInner class.
Method Details
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: Time when operation has started.
Returns:
errors
public List
Get the errors property: Any errors associate with the operation.
Returns:
expirationTime
public OffsetDateTime expirationTime()
Get the expirationTime property: Time when operation will expire.
Returns:
fromJson
public static OperationInner fromJson(JsonReader jsonReader)
Reads an instance of OperationInner from the JsonReader.
Parameters:
Returns:
Throws:
geoMasterOperationId
public UUID geoMasterOperationId()
Get the geoMasterOperationId property: Applicable only for stamp operation ids.
Returns:
id
public String id()
Get the id property: Operation ID.
Returns:
modifiedTime
public OffsetDateTime modifiedTime()
Get the modifiedTime property: Time when operation has been updated.
Returns:
name
public String name()
Get the name property: Operation name.
Returns:
status
public OperationStatus status()
Get the status property: The current status of the operation.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCreatedTime
public OperationInner withCreatedTime(OffsetDateTime createdTime)
Set the createdTime property: Time when operation has started.
Parameters:
Returns:
withErrors
public OperationInner withErrors(List
Set the errors property: Any errors associate with the operation.
Parameters:
Returns:
withExpirationTime
public OperationInner withExpirationTime(OffsetDateTime expirationTime)
Set the expirationTime property: Time when operation will expire.
Parameters:
Returns:
withGeoMasterOperationId
public OperationInner withGeoMasterOperationId(UUID geoMasterOperationId)
Set the geoMasterOperationId property: Applicable only for stamp operation ids.
Parameters:
Returns:
withId
public OperationInner withId(String id)
Set the id property: Operation ID.
Parameters:
Returns:
withModifiedTime
public OperationInner withModifiedTime(OffsetDateTime modifiedTime)
Set the modifiedTime property: Time when operation has been updated.
Parameters:
Returns:
withName
public OperationInner withName(String name)
Set the name property: Operation name.
Parameters:
Returns:
withStatus
public OperationInner withStatus(OperationStatus status)
Set the status property: The current status of the operation.
Parameters:
Returns:
Applies to
Azure SDK for Java