Share via


ApiRevisionInfoContract Class

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

public class ApiRevisionInfoContract

Object used to create an API Revision or Version based on an existing API Revision.

Constructor Summary

Constructor Description
ApiRevisionInfoContract()

Method Summary

Modifier and Type Method and Description
java.lang.String apiRevisionDescription()

Get description of new API Revision.

java.lang.String apiVersionName()

Get version identifier for the new API Version.

ApiVersionSetContractDetails apiVersionSet()

Get version set details.

java.lang.String sourceApiId()

Get resource identifier of API to be used to create the revision from.

ApiRevisionInfoContract withApiRevisionDescription(String apiRevisionDescription)

Set description of new API Revision.

ApiRevisionInfoContract withApiVersionName(String apiVersionName)

Set version identifier for the new API Version.

ApiRevisionInfoContract withApiVersionSet(ApiVersionSetContractDetails apiVersionSet)

Set version set details.

ApiRevisionInfoContract withSourceApiId(String sourceApiId)

Set resource identifier of API to be used to create the revision from.

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

ApiRevisionInfoContract

public ApiRevisionInfoContract()

Method Details

apiRevisionDescription

public String apiRevisionDescription()

Get description of new API Revision.

Returns:

the apiRevisionDescription value

apiVersionName

public String apiVersionName()

Get version identifier for the new API Version.

Returns:

the apiVersionName value

apiVersionSet

public ApiVersionSetContractDetails apiVersionSet()

Get version set details.

Returns:

the apiVersionSet value

sourceApiId

public String sourceApiId()

Get resource identifier of API to be used to create the revision from.

Returns:

the sourceApiId value

withApiRevisionDescription

public ApiRevisionInfoContract withApiRevisionDescription(String apiRevisionDescription)

Set description of new API Revision.

Parameters:

apiRevisionDescription - the apiRevisionDescription value to set

Returns:

the ApiRevisionInfoContract object itself.

withApiVersionName

public ApiRevisionInfoContract withApiVersionName(String apiVersionName)

Set version identifier for the new API Version.

Parameters:

apiVersionName - the apiVersionName value to set

Returns:

the ApiRevisionInfoContract object itself.

withApiVersionSet

public ApiRevisionInfoContract withApiVersionSet(ApiVersionSetContractDetails apiVersionSet)

Set version set details.

Parameters:

apiVersionSet - the apiVersionSet value to set

Returns:

the ApiRevisionInfoContract object itself.

withSourceApiId

public ApiRevisionInfoContract withSourceApiId(String sourceApiId)

Set resource identifier of API to be used to create the revision from.

Parameters:

sourceApiId - the sourceApiId value to set

Returns:

the ApiRevisionInfoContract object itself.

Applies to