Operation Class
- java.
lang. Object - com.
azure. resourcemanager. deploymentmanager. models. Operation
- com.
public final class Operation
Represents an operation that can be performed on the service.
Constructor Summary
Constructor | Description |
---|---|
Operation() |
Creates an instance of Operation class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Operation |
display()
Get the display property: The display name of the operation. |
String |
name()
Get the name property: The name of the operation. |
String |
origin()
Get the origin property: The origin of the operation. |
Object |
properties()
Get the properties property: The properties of the operation. |
void |
validate()
Validates the instance. |
Operation |
withDisplay(OperationDetail display)
Set the display property: The display name of the operation. |
Operation |
withName(String name)
Set the name property: The name of the operation. |
Operation |
withOrigin(String origin)
Set the origin property: The origin of the operation. |
Operation |
withProperties(Object properties)
Set the properties property: The properties of the operation. |
Methods inherited from java.lang.Object
Constructor Details
Operation
public Operation()
Creates an instance of Operation class.
Method Details
display
public OperationDetail display()
Get the display property: The display name of the operation.
Returns:
name
public String name()
Get the name property: The name of the operation.
Returns:
origin
public String origin()
Get the origin property: The origin of the operation.
Returns:
properties
public Object properties()
Get the properties property: The properties of the operation.
Returns:
validate
public void validate()
Validates the instance.
withDisplay
public Operation withDisplay(OperationDetail display)
Set the display property: The display name of the operation.
Parameters:
Returns:
withName
public Operation withName(String name)
Set the name property: The name of the operation.
Parameters:
Returns:
withOrigin
public Operation withOrigin(String origin)
Set the origin property: The origin of the operation.
Parameters:
Returns:
withProperties
public Operation withProperties(Object properties)
Set the properties property: The properties of the operation.
Parameters:
Returns:
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