com.pulumi.meraki.networks.outputs.ApplianceFirewallL7FirewallRulesRuleValueObj Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meraki Show documentation
Show all versions of meraki Show documentation
A Pulumi package for creating and managing Cisco Meraki 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.meraki.networks.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ApplianceFirewallL7FirewallRulesRuleValueObj {
private @Nullable String id;
private @Nullable String name;
private ApplianceFirewallL7FirewallRulesRuleValueObj() {}
public Optional id() {
return Optional.ofNullable(this.id);
}
public Optional name() {
return Optional.ofNullable(this.name);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApplianceFirewallL7FirewallRulesRuleValueObj defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String id;
private @Nullable String name;
public Builder() {}
public Builder(ApplianceFirewallL7FirewallRulesRuleValueObj defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.name = defaults.name;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
public ApplianceFirewallL7FirewallRulesRuleValueObj build() {
final var _resultValue = new ApplianceFirewallL7FirewallRulesRuleValueObj();
_resultValue.id = id;
_resultValue.name = name;
return _resultValue;
}
}
}