Class SubscriptionKeyParameterNamesContract
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.SubscriptionKeyParameterNamesContract
-
public final class SubscriptionKeyParameterNamesContract extends Object
Subscription key parameter names details.
-
-
Constructor Summary
Constructors Constructor Description SubscriptionKeyParameterNamesContract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
headerProperty()
Get the headerProperty property: Subscription key header name.String
query()
Get the query property: Subscription key query string parameter name.void
validate()
Validates the instance.SubscriptionKeyParameterNamesContract
withHeaderProperty(String headerProperty)
Set the headerProperty property: Subscription key header name.SubscriptionKeyParameterNamesContract
withQuery(String query)
Set the query property: Subscription key query string parameter name.
-
-
-
Method Detail
-
headerProperty
public String headerProperty()
Get the headerProperty property: Subscription key header name.- Returns:
- the headerProperty value.
-
withHeaderProperty
public SubscriptionKeyParameterNamesContract withHeaderProperty(String headerProperty)
Set the headerProperty property: Subscription key header name.- Parameters:
headerProperty
- the headerProperty value to set.- Returns:
- the SubscriptionKeyParameterNamesContract object itself.
-
query
public String query()
Get the query property: Subscription key query string parameter name.- Returns:
- the query value.
-
withQuery
public SubscriptionKeyParameterNamesContract withQuery(String query)
Set the query property: Subscription key query string parameter name.- Parameters:
query
- the query value to set.- Returns:
- the SubscriptionKeyParameterNamesContract object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-