ApiVersionSetUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.apimanagement.models.ApiVersionSetUpdateParameters

public final class ApiVersionSetUpdateParameters

Parameters to update or create an API Version Set Contract.

Constructor Summary

Constructor Description
ApiVersionSetUpdateParameters()

Creates an instance of ApiVersionSetUpdateParameters class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Description of API Version Set.

String displayName()

Get the displayName property: Name of API Version Set.

void validate()

Validates the instance.

String versionHeaderName()

Get the versionHeaderName property: Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.

String versionQueryName()

Get the versionQueryName property: Name of query parameter that indicates the API Version if versioningScheme is set to `query`.

VersioningScheme versioningScheme()

Get the versioningScheme property: An value that determines where the API Version identifier will be located in a HTTP request.

ApiVersionSetUpdateParameters withDescription(String description)

Set the description property: Description of API Version Set.

ApiVersionSetUpdateParameters withDisplayName(String displayName)

Set the displayName property: Name of API Version Set.

ApiVersionSetUpdateParameters withVersionHeaderName(String versionHeaderName)

Set the versionHeaderName property: Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.

ApiVersionSetUpdateParameters withVersionQueryName(String versionQueryName)

Set the versionQueryName property: Name of query parameter that indicates the API Version if versioningScheme is set to `query`.

ApiVersionSetUpdateParameters withVersioningScheme(VersioningScheme versioningScheme)

Set the versioningScheme property: An value that determines where the API Version identifier will be located in a HTTP request.

Methods inherited from java.lang.Object

Constructor Details

ApiVersionSetUpdateParameters

public ApiVersionSetUpdateParameters()

Creates an instance of ApiVersionSetUpdateParameters class.

Method Details

description

public String description()

Get the description property: Description of API Version Set.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: Name of API Version Set.

Returns:

the displayName value.

validate

public void validate()

Validates the instance.

versionHeaderName

public String versionHeaderName()

Get the versionHeaderName property: Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.

Returns:

the versionHeaderName value.

versionQueryName

public String versionQueryName()

Get the versionQueryName property: Name of query parameter that indicates the API Version if versioningScheme is set to `query`.

Returns:

the versionQueryName value.

versioningScheme

public VersioningScheme versioningScheme()

Get the versioningScheme property: An value that determines where the API Version identifier will be located in a HTTP request.

Returns:

the versioningScheme value.

withDescription

public ApiVersionSetUpdateParameters withDescription(String description)

Set the description property: Description of API Version Set.

Parameters:

description - the description value to set.

Returns:

the ApiVersionSetUpdateParameters object itself.

withDisplayName

public ApiVersionSetUpdateParameters withDisplayName(String displayName)

Set the displayName property: Name of API Version Set.

Parameters:

displayName - the displayName value to set.

Returns:

the ApiVersionSetUpdateParameters object itself.

withVersionHeaderName

public ApiVersionSetUpdateParameters withVersionHeaderName(String versionHeaderName)

Set the versionHeaderName property: Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.

Parameters:

versionHeaderName - the versionHeaderName value to set.

Returns:

the ApiVersionSetUpdateParameters object itself.

withVersionQueryName

public ApiVersionSetUpdateParameters withVersionQueryName(String versionQueryName)

Set the versionQueryName property: Name of query parameter that indicates the API Version if versioningScheme is set to `query`.

Parameters:

versionQueryName - the versionQueryName value to set.

Returns:

the ApiVersionSetUpdateParameters object itself.

withVersioningScheme

public ApiVersionSetUpdateParameters withVersioningScheme(VersioningScheme versioningScheme)

Set the versioningScheme property: An value that determines where the API Version identifier will be located in a HTTP request.

Parameters:

versioningScheme - the versioningScheme value to set.

Returns:

the ApiVersionSetUpdateParameters object itself.

Applies to