public class OperationDisplayDefinition extends Object
| Constructor | Description |
|---|---|
OperationDisplayDefinition() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
description() |
Get the description for the operation.
|
String |
operation() |
Get the operation that users can perform.
|
String |
provider() |
Get the resource provider name: Microsoft.ContainerRegistry.
|
String |
resource() |
Get the resource on which the operation is performed.
|
OperationDisplayDefinition |
withDescription(String description) |
Set the description for the operation.
|
OperationDisplayDefinition |
withOperation(String operation) |
Set the operation that users can perform.
|
OperationDisplayDefinition |
withProvider(String provider) |
Set the resource provider name: Microsoft.ContainerRegistry.
|
OperationDisplayDefinition |
withResource(String resource) |
Set the resource on which the operation is performed.
|
public String provider()
public OperationDisplayDefinition withProvider(String provider)
provider - the provider value to setpublic String resource()
public OperationDisplayDefinition withResource(String resource)
resource - the resource value to setpublic String operation()
public OperationDisplayDefinition withOperation(String operation)
operation - the operation value to setpublic String description()
public OperationDisplayDefinition withDescription(String description)
description - the description value to set /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/