OperationUpdateContract Class

  • java.lang.Object
    • com.microsoft.azure.management.apimanagement.v2019_01_01.OperationUpdateContract

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.

RequestContract request()

Get an entity containing request details.

java.util.List<ResponseContract> responses()

Get array of Operation responses.

java.util.List<ParameterContract> templateParameters()

Get collection of URL template parameters.

java.lang.String urlTemplate()

Get relative URL template identifying the target resource for this operation.

OperationUpdateContract withDescription(String description)

Set description of the operation.

OperationUpdateContract withDisplayName(String displayName)

Set operation Name.

OperationUpdateContract withMethod(String method)

Set a Valid HTTP Operation Method.

OperationUpdateContract withPolicies(String policies)

Set operation Policies.

OperationUpdateContract withRequest(RequestContract request)

Set an entity containing request details.

OperationUpdateContract withResponses(List<ResponseContract> responses)

Set array of Operation responses.

OperationUpdateContract withTemplateParameters(List<ParameterContract> templateParameters)

Set collection of URL template parameters.

OperationUpdateContract withUrlTemplate(String urlTemplate)

Set relative URL template identifying the target resource for this operation.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

OperationUpdateContract

public OperationUpdateContract()

Method Details

description

public String description()

Get description of the operation. May include HTML formatting tags.

Returns:

the description value

displayName

public String displayName()

Get operation Name.

Returns:

the displayName value

method

public String method()

Get a Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them.

Returns:

the method value

policies

public String policies()

Get operation Policies.

Returns:

the policies value

request

public RequestContract request()

Get an entity containing request details.

Returns:

the request value

responses

public List responses()

Get array of Operation responses.

Returns:

the responses value

templateParameters

public List templateParameters()

Get collection of URL template parameters.

Returns:

the templateParameters value

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:

the urlTemplate value

withDescription

public OperationUpdateContract withDescription(String description)

Set description of the operation. May include HTML formatting tags.

Parameters:

description - the description value to set

Returns:

the OperationUpdateContract object itself.

withDisplayName

public OperationUpdateContract withDisplayName(String displayName)

Set operation Name.

Parameters:

displayName - the displayName value to set

Returns:

the OperationUpdateContract object itself.

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:

method - the method value to set

Returns:

the OperationUpdateContract object itself.

withPolicies

public OperationUpdateContract withPolicies(String policies)

Set operation Policies.

Parameters:

policies - the policies value to set

Returns:

the OperationUpdateContract object itself.

withRequest

public OperationUpdateContract withRequest(RequestContract request)

Set an entity containing request details.

Parameters:

request - the request value to set

Returns:

the OperationUpdateContract object itself.

withResponses

public OperationUpdateContract withResponses(List responses)

Set array of Operation responses.

Parameters:

responses - the responses value to set

Returns:

the OperationUpdateContract object itself.

withTemplateParameters

public OperationUpdateContract withTemplateParameters(List templateParameters)

Set collection of URL template parameters.

Parameters:

templateParameters - the templateParameters value to set

Returns:

the OperationUpdateContract object itself.

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:

urlTemplate - the urlTemplate value to set

Returns:

the OperationUpdateContract object itself.

Applies to