com.pulumi.azurenative.cdn.inputs.DeliveryRuleUrlFileExtensionConditionArgs 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.inputs;
import com.pulumi.azurenative.cdn.inputs.UrlFileExtensionMatchConditionParametersArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* Defines the UrlFileExtension condition for the delivery rule.
*
*/
public final class DeliveryRuleUrlFileExtensionConditionArgs extends com.pulumi.resources.ResourceArgs {
public static final DeliveryRuleUrlFileExtensionConditionArgs Empty = new DeliveryRuleUrlFileExtensionConditionArgs();
/**
* The name of the condition for the delivery rule.
* Expected value is 'UrlFileExtension'.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return The name of the condition for the delivery rule.
* Expected value is 'UrlFileExtension'.
*
*/
public Output name() {
return this.name;
}
/**
* Defines the parameters for the condition.
*
*/
@Import(name="parameters", required=true)
private Output parameters;
/**
* @return Defines the parameters for the condition.
*
*/
public Output parameters() {
return this.parameters;
}
private DeliveryRuleUrlFileExtensionConditionArgs() {}
private DeliveryRuleUrlFileExtensionConditionArgs(DeliveryRuleUrlFileExtensionConditionArgs $) {
this.name = $.name;
this.parameters = $.parameters;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DeliveryRuleUrlFileExtensionConditionArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private DeliveryRuleUrlFileExtensionConditionArgs $;
public Builder() {
$ = new DeliveryRuleUrlFileExtensionConditionArgs();
}
public Builder(DeliveryRuleUrlFileExtensionConditionArgs defaults) {
$ = new DeliveryRuleUrlFileExtensionConditionArgs(Objects.requireNonNull(defaults));
}
/**
* @param name The name of the condition for the delivery rule.
* Expected value is 'UrlFileExtension'.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name The name of the condition for the delivery rule.
* Expected value is 'UrlFileExtension'.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param parameters Defines the parameters for the condition.
*
* @return builder
*
*/
public Builder parameters(Output parameters) {
$.parameters = parameters;
return this;
}
/**
* @param parameters Defines the parameters for the condition.
*
* @return builder
*
*/
public Builder parameters(UrlFileExtensionMatchConditionParametersArgs parameters) {
return parameters(Output.of(parameters));
}
public DeliveryRuleUrlFileExtensionConditionArgs build() {
$.name = Codegen.stringProp("name").output().arg($.name).require();
if ($.parameters == null) {
throw new MissingRequiredPropertyException("DeliveryRuleUrlFileExtensionConditionArgs", "parameters");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy