
com.pulumi.azurenative.awsconnector.outputs.RuleGroupResponse 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.awsconnector.outputs;
import com.pulumi.azurenative.awsconnector.outputs.ReferenceSetsResponse;
import com.pulumi.azurenative.awsconnector.outputs.RuleVariablesResponse;
import com.pulumi.azurenative.awsconnector.outputs.RulesSourceResponse;
import com.pulumi.azurenative.awsconnector.outputs.StatefulRuleOptionsResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class RuleGroupResponse {
/**
* @return Property referenceSets
*
*/
private @Nullable ReferenceSetsResponse referenceSets;
/**
* @return Property ruleVariables
*
*/
private @Nullable RuleVariablesResponse ruleVariables;
/**
* @return Property rulesSource
*
*/
private @Nullable RulesSourceResponse rulesSource;
/**
* @return Property statefulRuleOptions
*
*/
private @Nullable StatefulRuleOptionsResponse statefulRuleOptions;
private RuleGroupResponse() {}
/**
* @return Property referenceSets
*
*/
public Optional referenceSets() {
return Optional.ofNullable(this.referenceSets);
}
/**
* @return Property ruleVariables
*
*/
public Optional ruleVariables() {
return Optional.ofNullable(this.ruleVariables);
}
/**
* @return Property rulesSource
*
*/
public Optional rulesSource() {
return Optional.ofNullable(this.rulesSource);
}
/**
* @return Property statefulRuleOptions
*
*/
public Optional statefulRuleOptions() {
return Optional.ofNullable(this.statefulRuleOptions);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RuleGroupResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ReferenceSetsResponse referenceSets;
private @Nullable RuleVariablesResponse ruleVariables;
private @Nullable RulesSourceResponse rulesSource;
private @Nullable StatefulRuleOptionsResponse statefulRuleOptions;
public Builder() {}
public Builder(RuleGroupResponse defaults) {
Objects.requireNonNull(defaults);
this.referenceSets = defaults.referenceSets;
this.ruleVariables = defaults.ruleVariables;
this.rulesSource = defaults.rulesSource;
this.statefulRuleOptions = defaults.statefulRuleOptions;
}
@CustomType.Setter
public Builder referenceSets(@Nullable ReferenceSetsResponse referenceSets) {
this.referenceSets = referenceSets;
return this;
}
@CustomType.Setter
public Builder ruleVariables(@Nullable RuleVariablesResponse ruleVariables) {
this.ruleVariables = ruleVariables;
return this;
}
@CustomType.Setter
public Builder rulesSource(@Nullable RulesSourceResponse rulesSource) {
this.rulesSource = rulesSource;
return this;
}
@CustomType.Setter
public Builder statefulRuleOptions(@Nullable StatefulRuleOptionsResponse statefulRuleOptions) {
this.statefulRuleOptions = statefulRuleOptions;
return this;
}
public RuleGroupResponse build() {
final var _resultValue = new RuleGroupResponse();
_resultValue.referenceSets = referenceSets;
_resultValue.ruleVariables = ruleVariables;
_resultValue.rulesSource = rulesSource;
_resultValue.statefulRuleOptions = statefulRuleOptions;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy