Class ApiVersionSetEntityBase
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.ApiVersionSetEntityBase
-
- Direct Known Subclasses:
ApiVersionSetContractProperties
,ApiVersionSetUpdateParametersProperties
public class ApiVersionSetEntityBase extends Object
API Version set base parameters.
-
-
Constructor Summary
Constructors Constructor Description ApiVersionSetEntityBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description property: Description 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`.ApiVersionSetEntityBase
withDescription(String description)
Set the description property: Description of API Version Set.ApiVersionSetEntityBase
withVersionHeaderName(String versionHeaderName)
Set the versionHeaderName property: Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.ApiVersionSetEntityBase
withVersionQueryName(String versionQueryName)
Set the versionQueryName property: Name of query parameter that indicates the API Version if versioningScheme is set to `query`.
-
-
-
Method Detail
-
description
public String description()
Get the description property: Description of API Version Set.- Returns:
- the description value.
-
withDescription
public ApiVersionSetEntityBase withDescription(String description)
Set the description property: Description of API Version Set.- Parameters:
description
- the description value to set.- Returns:
- the ApiVersionSetEntityBase object itself.
-
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.
-
withVersionQueryName
public ApiVersionSetEntityBase 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 ApiVersionSetEntityBase object itself.
-
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.
-
withVersionHeaderName
public ApiVersionSetEntityBase 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 ApiVersionSetEntityBase object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-