CacheKeyQueryStringActionParameters Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. CacheKeyQueryStringActionParameters
- com.
Implements
public final class CacheKeyQueryStringActionParameters
implements JsonSerializable<CacheKeyQueryStringActionParameters>
Defines the parameters for the cache-key query string action.
Constructor Summary
| Constructor | Description |
|---|---|
| CacheKeyQueryStringActionParameters() |
Creates an instance of Cache |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Cache |
fromJson(JsonReader jsonReader)
Reads an instance of Cache |
| String |
queryParameters()
Get the query |
|
Query |
queryStringBehavior()
Get the query |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
typeName()
Get the type |
| void |
validate()
Validates the instance. |
|
Cache |
withQueryParameters(String queryParameters)
Set the query |
|
Cache |
withQueryStringBehavior(QueryStringBehavior queryStringBehavior)
Set the query |
|
Cache |
withTypeName(String typeName)
Set the type |
Methods inherited from java.lang.Object
Constructor Details
CacheKeyQueryStringActionParameters
public CacheKeyQueryStringActionParameters()
Creates an instance of CacheKeyQueryStringActionParameters class.
Method Details
fromJson
public static CacheKeyQueryStringActionParameters fromJson(JsonReader jsonReader)
Reads an instance of CacheKeyQueryStringActionParameters from the JsonReader.
Parameters:
Returns:
Throws:
queryParameters
public String queryParameters()
Get the queryParameters property: query parameters to include or exclude (comma separated).
Returns:
queryStringBehavior
public QueryStringBehavior queryStringBehavior()
Get the queryStringBehavior property: Caching behavior for the requests.
Returns:
toJson
typeName
public String typeName()
Get the typeName property: The typeName property.
Returns:
validate
public void validate()
Validates the instance.
withQueryParameters
public CacheKeyQueryStringActionParameters withQueryParameters(String queryParameters)
Set the queryParameters property: query parameters to include or exclude (comma separated).
Parameters:
Returns:
withQueryStringBehavior
public CacheKeyQueryStringActionParameters withQueryStringBehavior(QueryStringBehavior queryStringBehavior)
Set the queryStringBehavior property: Caching behavior for the requests.
Parameters:
Returns:
withTypeName
public CacheKeyQueryStringActionParameters withTypeName(String typeName)
Set the typeName property: The typeName property.
Parameters:
Returns: