Class ApiVersionSetUpdateParametersProperties
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.ApiVersionSetEntityBase
-
- com.azure.resourcemanager.apimanagement.fluent.models.ApiVersionSetUpdateParametersProperties
-
public final class ApiVersionSetUpdateParametersProperties extends ApiVersionSetEntityBase
Properties used to create or update an API Version Set.
-
-
Constructor Summary
Constructors Constructor Description ApiVersionSetUpdateParametersProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
displayName()
Get the displayName property: Name of API Version Set.void
validate()
Validates the instance.VersioningScheme
versioningScheme()
Get the versioningScheme property: An value that determines where the API Version identifier will be located in a HTTP request.ApiVersionSetUpdateParametersProperties
withDescription(String description)
Set the description property: Description of API Version Set.ApiVersionSetUpdateParametersProperties
withDisplayName(String displayName)
Set the displayName property: Name of API Version Set.ApiVersionSetUpdateParametersProperties
withVersionHeaderName(String versionHeaderName)
Set the versionHeaderName property: Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.ApiVersionSetUpdateParametersProperties
withVersioningScheme(VersioningScheme versioningScheme)
Set the versioningScheme property: An value that determines where the API Version identifier will be located in a HTTP request.ApiVersionSetUpdateParametersProperties
withVersionQueryName(String versionQueryName)
Set the versionQueryName property: Name of query parameter that indicates the API Version if versioningScheme is set to `query`.-
Methods inherited from class com.azure.resourcemanager.apimanagement.models.ApiVersionSetEntityBase
description, versionHeaderName, versionQueryName
-
-
-
-
Method Detail
-
displayName
public String displayName()
Get the displayName property: Name of API Version Set.- Returns:
- the displayName value.
-
withDisplayName
public ApiVersionSetUpdateParametersProperties withDisplayName(String displayName)
Set the displayName property: Name of API Version Set.- Parameters:
displayName
- the displayName value to set.- Returns:
- the ApiVersionSetUpdateParametersProperties object itself.
-
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.
-
withVersioningScheme
public ApiVersionSetUpdateParametersProperties 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 ApiVersionSetUpdateParametersProperties object itself.
-
withDescription
public ApiVersionSetUpdateParametersProperties withDescription(String description)
Set the description property: Description of API Version Set.- Overrides:
withDescription
in classApiVersionSetEntityBase
- Parameters:
description
- the description value to set.- Returns:
- the ApiVersionSetEntityBase object itself.
-
withVersionQueryName
public ApiVersionSetUpdateParametersProperties withVersionQueryName(String versionQueryName)
Set the versionQueryName property: Name of query parameter that indicates the API Version if versioningScheme is set to `query`.- Overrides:
withVersionQueryName
in classApiVersionSetEntityBase
- Parameters:
versionQueryName
- the versionQueryName value to set.- Returns:
- the ApiVersionSetEntityBase object itself.
-
withVersionHeaderName
public ApiVersionSetUpdateParametersProperties withVersionHeaderName(String versionHeaderName)
Set the versionHeaderName property: Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.- Overrides:
withVersionHeaderName
in classApiVersionSetEntityBase
- Parameters:
versionHeaderName
- the versionHeaderName value to set.- Returns:
- the ApiVersionSetEntityBase object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classApiVersionSetEntityBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-