com.pulumi.azurenative.cdn.outputs.CacheKeyQueryStringActionParametersResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.cdn.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class CacheKeyQueryStringActionParametersResponse {
/**
* @return query parameters to include or exclude (comma separated).
*
*/
private @Nullable String queryParameters;
/**
* @return Caching behavior for the requests
*
*/
private String queryStringBehavior;
private String typeName;
private CacheKeyQueryStringActionParametersResponse() {}
/**
* @return query parameters to include or exclude (comma separated).
*
*/
public Optional queryParameters() {
return Optional.ofNullable(this.queryParameters);
}
/**
* @return Caching behavior for the requests
*
*/
public String queryStringBehavior() {
return this.queryStringBehavior;
}
public String typeName() {
return this.typeName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CacheKeyQueryStringActionParametersResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String queryParameters;
private String queryStringBehavior;
private String typeName;
public Builder() {}
public Builder(CacheKeyQueryStringActionParametersResponse defaults) {
Objects.requireNonNull(defaults);
this.queryParameters = defaults.queryParameters;
this.queryStringBehavior = defaults.queryStringBehavior;
this.typeName = defaults.typeName;
}
@CustomType.Setter
public Builder queryParameters(@Nullable String queryParameters) {
this.queryParameters = queryParameters;
return this;
}
@CustomType.Setter
public Builder queryStringBehavior(String queryStringBehavior) {
if (queryStringBehavior == null) {
throw new MissingRequiredPropertyException("CacheKeyQueryStringActionParametersResponse", "queryStringBehavior");
}
this.queryStringBehavior = queryStringBehavior;
return this;
}
@CustomType.Setter
public Builder typeName(String typeName) {
if (typeName == null) {
throw new MissingRequiredPropertyException("CacheKeyQueryStringActionParametersResponse", "typeName");
}
this.typeName = typeName;
return this;
}
public CacheKeyQueryStringActionParametersResponse build() {
final var _resultValue = new CacheKeyQueryStringActionParametersResponse();
_resultValue.queryParameters = queryParameters;
_resultValue.queryStringBehavior = queryStringBehavior;
_resultValue.typeName = typeName;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy