com.pulumi.azurenative.cdn.outputs.DeliveryRuleCookiesConditionResponse 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.azurenative.cdn.outputs.CookiesMatchConditionParametersResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class DeliveryRuleCookiesConditionResponse {
/**
* @return The name of the condition for the delivery rule.
* Expected value is 'Cookies'.
*
*/
private String name;
/**
* @return Defines the parameters for the condition.
*
*/
private CookiesMatchConditionParametersResponse parameters;
private DeliveryRuleCookiesConditionResponse() {}
/**
* @return The name of the condition for the delivery rule.
* Expected value is 'Cookies'.
*
*/
public String name() {
return this.name;
}
/**
* @return Defines the parameters for the condition.
*
*/
public CookiesMatchConditionParametersResponse parameters() {
return this.parameters;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DeliveryRuleCookiesConditionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String name;
private CookiesMatchConditionParametersResponse parameters;
public Builder() {}
public Builder(DeliveryRuleCookiesConditionResponse defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.parameters = defaults.parameters;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("DeliveryRuleCookiesConditionResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder parameters(CookiesMatchConditionParametersResponse parameters) {
if (parameters == null) {
throw new MissingRequiredPropertyException("DeliveryRuleCookiesConditionResponse", "parameters");
}
this.parameters = parameters;
return this;
}
public DeliveryRuleCookiesConditionResponse build() {
final var _resultValue = new DeliveryRuleCookiesConditionResponse();
_resultValue.name = name;
_resultValue.parameters = parameters;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy