Class CacheKeyQueryStringActionParameters
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.CacheKeyQueryStringActionParameters
-
public final class CacheKeyQueryStringActionParameters extends Object
Defines the parameters for the cache-key query string action.
-
-
Constructor Summary
Constructors Constructor Description CacheKeyQueryStringActionParameters()Creates an instance of CacheKeyQueryStringActionParameters class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringodataType()Get the odataType property: The @odata.type property.StringqueryParameters()Get the queryParameters property: query parameters to include or exclude (comma separated).QueryStringBehaviorqueryStringBehavior()Get the queryStringBehavior property: Caching behavior for the requests.voidvalidate()Validates the instance.CacheKeyQueryStringActionParameterswithOdataType(String odataType)Set the odataType property: The @odata.type property.CacheKeyQueryStringActionParameterswithQueryParameters(String queryParameters)Set the queryParameters property: query parameters to include or exclude (comma separated).CacheKeyQueryStringActionParameterswithQueryStringBehavior(QueryStringBehavior queryStringBehavior)Set the queryStringBehavior property: Caching behavior for the requests.
-
-
-
Method Detail
-
odataType
public String odataType()
Get the odataType property: The @odata.type property.- Returns:
- the odataType value.
-
withOdataType
public CacheKeyQueryStringActionParameters withOdataType(String odataType)
Set the odataType property: The @odata.type property.- Parameters:
odataType- the odataType value to set.- Returns:
- the CacheKeyQueryStringActionParameters object itself.
-
queryStringBehavior
public QueryStringBehavior queryStringBehavior()
Get the queryStringBehavior property: Caching behavior for the requests.- Returns:
- the queryStringBehavior value.
-
withQueryStringBehavior
public CacheKeyQueryStringActionParameters withQueryStringBehavior(QueryStringBehavior queryStringBehavior)
Set the queryStringBehavior property: Caching behavior for the requests.- Parameters:
queryStringBehavior- the queryStringBehavior value to set.- Returns:
- the CacheKeyQueryStringActionParameters object itself.
-
queryParameters
public String queryParameters()
Get the queryParameters property: query parameters to include or exclude (comma separated).- Returns:
- the queryParameters value.
-
withQueryParameters
public CacheKeyQueryStringActionParameters withQueryParameters(String queryParameters)
Set the queryParameters property: query parameters to include or exclude (comma separated).- Parameters:
queryParameters- the queryParameters value to set.- Returns:
- the CacheKeyQueryStringActionParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-