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