OperationUpdateContract Class
- java.
lang. Object - com.
microsoft. azure. management. apimanagement. v2019_01_01.OperationUpdateContract
- com.
public class OperationUpdateContract
Api Operation Update Contract details.
Constructor Summary
Constructor | Description | |
---|---|---|
OperationUpdateContract() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description()
Get description of the operation. |
java.lang.String |
displayName()
Get operation Name. |
java.lang.String |
method()
Get a Valid HTTP Operation Method. |
java.lang.String |
policies()
Get operation Policies. |
Request |
request()
Get an entity containing request details. |
java.util.List<Response |
responses()
Get array of Operation responses. |
java.util.List<Parameter |
templateParameters()
Get collection of URL template parameters. |
java.lang.String |
urlTemplate()
Get relative URL template identifying the target resource for this operation. |
Operation |
withDescription(String description)
Set description of the operation. |
Operation |
withDisplayName(String displayName)
Set operation Name. |
Operation |
withMethod(String method)
Set a Valid HTTP Operation Method. |
Operation |
withPolicies(String policies)
Set operation Policies. |
Operation |
withRequest(RequestContract request)
Set an entity containing request details. |
Operation |
withResponses(List<ResponseContract> responses)
Set array of Operation responses. |
Operation |
withTemplateParameters(List<ParameterContract> templateParameters)
Set collection of URL template parameters. |
Operation |
withUrlTemplate(String urlTemplate)
Set relative URL template identifying the target resource for this operation. |
Methods inherited from java.lang.Object
Constructor Details
OperationUpdateContract
public OperationUpdateContract()
Method Details
description
public String description()
Get description of the operation. May include HTML formatting tags.
Returns:
displayName
public String displayName()
Get operation Name.
Returns:
method
public String method()
Get a Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them.
Returns:
policies
public String policies()
Get operation Policies.
Returns:
request
public RequestContract request()
Get an entity containing request details.
Returns:
responses
public List
Get array of Operation responses.
Returns:
templateParameters
public List
Get collection of URL template parameters.
Returns:
urlTemplate
public String urlTemplate()
Get relative URL template identifying the target resource for this operation. May include parameters. Example: /customers/{cid}/orders/{oid}/?date={date}.
Returns:
withDescription
public OperationUpdateContract withDescription(String description)
Set description of the operation. May include HTML formatting tags.
Parameters:
Returns:
withDisplayName
public OperationUpdateContract withDisplayName(String displayName)
Set operation Name.
Parameters:
Returns:
withMethod
public OperationUpdateContract withMethod(String method)
Set a Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them.
Parameters:
Returns:
withPolicies
public OperationUpdateContract withPolicies(String policies)
Set operation Policies.
Parameters:
Returns:
withRequest
public OperationUpdateContract withRequest(RequestContract request)
Set an entity containing request details.
Parameters:
Returns:
withResponses
public OperationUpdateContract withResponses(List
Set array of Operation responses.
Parameters:
Returns:
withTemplateParameters
public OperationUpdateContract withTemplateParameters(List
Set collection of URL template parameters.
Parameters:
Returns:
withUrlTemplate
public OperationUpdateContract withUrlTemplate(String urlTemplate)
Set relative URL template identifying the target resource for this operation. May include parameters. Example: /customers/{cid}/orders/{oid}/?date={date}.
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