Class OperationTagResourceContractProperties
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.OperationTagResourceContractProperties
-
public final class OperationTagResourceContractProperties extends Object
Operation Entity contract Properties.
-
-
Constructor Summary
Constructors Constructor Description OperationTagResourceContractProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
apiName()
Get the apiName property: API Name.String
apiRevision()
Get the apiRevision property: API Revision.String
apiVersion()
Get the apiVersion property: API Version.String
description()
Get the description property: Operation Description.String
id()
Get the id property: Identifier of the operation in form /operations/{operationId}.String
method()
Get the method property: A Valid HTTP Operation Method.String
name()
Get the name property: Operation name.String
urlTemplate()
Get the urlTemplate property: Relative URL template identifying the target resource for this operation.void
validate()
Validates the instance.OperationTagResourceContractProperties
withId(String id)
Set the id property: Identifier of the operation in form /operations/{operationId}.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Identifier of the operation in form /operations/{operationId}.- Returns:
- the id value.
-
withId
public OperationTagResourceContractProperties withId(String id)
Set the id property: Identifier of the operation in form /operations/{operationId}.- Parameters:
id
- the id value to set.- Returns:
- the OperationTagResourceContractProperties object itself.
-
name
public String name()
Get the name property: Operation name.- Returns:
- the name value.
-
apiName
public String apiName()
Get the apiName property: API Name.- Returns:
- the apiName value.
-
apiRevision
public String apiRevision()
Get the apiRevision property: API Revision.- Returns:
- the apiRevision value.
-
apiVersion
public String apiVersion()
Get the apiVersion property: API Version.- Returns:
- the apiVersion value.
-
description
public String description()
Get the description property: Operation Description.- Returns:
- the description value.
-
method
public String method()
Get the method property: A Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them.- Returns:
- the method value.
-
urlTemplate
public String urlTemplate()
Get the urlTemplate property: Relative URL template identifying the target resource for this operation. May include parameters. Example: /customers/{cid}/orders/{oid}/?date={date}.- Returns:
- the urlTemplate value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-