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