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 StringqueryParameters()Get the queryParameters property: query parameters to include or exclude (comma separated).QueryStringBehaviorqueryStringBehavior()Get the queryStringBehavior property: Caching behavior for the requests.StringtypeName()Get the typeName property: The typeName property.voidvalidate()Validates the instance.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.CacheKeyQueryStringActionParameterswithTypeName(String typeName)Set the typeName property: The typeName property.
-
-
-
Method Detail
-
typeName
public String typeName()
Get the typeName property: The typeName property.- Returns:
- the typeName value.
-
withTypeName
public CacheKeyQueryStringActionParameters withTypeName(String typeName)
Set the typeName property: The typeName property.- Parameters:
typeName- the typeName 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.
-
-