Class ClientDiscoveryValueForSingleApiInner
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.fluent.models.ClientDiscoveryValueForSingleApiInner
-
public final class ClientDiscoveryValueForSingleApiInner extends Object
Available operation details.
-
-
Constructor Summary
Constructors Constructor Description ClientDiscoveryValueForSingleApiInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientDiscoveryDisplay
display()
Get the display property: Contains the localized display information for this particular operation.String
name()
Get the name property: Name of the Operation.String
origin()
Get the origin property: The intended executor of the operation;governs the display of the operation in the RBAC UX and the audit logs UX.ClientDiscoveryForProperties
properties()
Get the properties property: ShoeBox properties for the given operation.void
validate()
Validates the instance.ClientDiscoveryValueForSingleApiInner
withDisplay(ClientDiscoveryDisplay display)
Set the display property: Contains the localized display information for this particular operation.ClientDiscoveryValueForSingleApiInner
withName(String name)
Set the name property: Name of the Operation.ClientDiscoveryValueForSingleApiInner
withOrigin(String origin)
Set the origin property: The intended executor of the operation;governs the display of the operation in the RBAC UX and the audit logs UX.ClientDiscoveryValueForSingleApiInner
withProperties(ClientDiscoveryForProperties properties)
Set the properties property: ShoeBox properties for the given operation.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the Operation.- Returns:
- the name value.
-
withName
public ClientDiscoveryValueForSingleApiInner withName(String name)
Set the name property: Name of the Operation.- Parameters:
name
- the name value to set.- Returns:
- the ClientDiscoveryValueForSingleApiInner object itself.
-
display
public ClientDiscoveryDisplay display()
Get the display property: Contains the localized display information for this particular operation.- Returns:
- the display value.
-
withDisplay
public ClientDiscoveryValueForSingleApiInner withDisplay(ClientDiscoveryDisplay display)
Set the display property: Contains the localized display information for this particular operation.- Parameters:
display
- the display value to set.- Returns:
- the ClientDiscoveryValueForSingleApiInner object itself.
-
origin
public String origin()
Get the origin property: The intended executor of the operation;governs the display of the operation in the RBAC UX and the audit logs UX.- Returns:
- the origin value.
-
withOrigin
public ClientDiscoveryValueForSingleApiInner withOrigin(String origin)
Set the origin property: The intended executor of the operation;governs the display of the operation in the RBAC UX and the audit logs UX.- Parameters:
origin
- the origin value to set.- Returns:
- the ClientDiscoveryValueForSingleApiInner object itself.
-
properties
public ClientDiscoveryForProperties properties()
Get the properties property: ShoeBox properties for the given operation.- Returns:
- the properties value.
-
withProperties
public ClientDiscoveryValueForSingleApiInner withProperties(ClientDiscoveryForProperties properties)
Set the properties property: ShoeBox properties for the given operation.- Parameters:
properties
- the properties value to set.- Returns:
- the ClientDiscoveryValueForSingleApiInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-