
com.pulumi.scm.outputs.GetQosPolicyRuleListData Maven / Gradle / Ivy
// *** 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.scm.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.scm.outputs.GetQosPolicyRuleListDataAction;
import com.pulumi.scm.outputs.GetQosPolicyRuleListDataDscpTos;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetQosPolicyRuleListData {
/**
* @return The Action param.
*
*/
private GetQosPolicyRuleListDataAction action;
/**
* @return The Description param.
*
*/
private String description;
/**
* @return The DscpTos param.
*
*/
private GetQosPolicyRuleListDataDscpTos dscpTos;
/**
* @return UUID of the resource.
*
*/
private String id;
/**
* @return The Name param.
*
*/
private String name;
/**
* @return The Schedule param.
*
*/
private String schedule;
private GetQosPolicyRuleListData() {}
/**
* @return The Action param.
*
*/
public GetQosPolicyRuleListDataAction action() {
return this.action;
}
/**
* @return The Description param.
*
*/
public String description() {
return this.description;
}
/**
* @return The DscpTos param.
*
*/
public GetQosPolicyRuleListDataDscpTos dscpTos() {
return this.dscpTos;
}
/**
* @return UUID of the resource.
*
*/
public String id() {
return this.id;
}
/**
* @return The Name param.
*
*/
public String name() {
return this.name;
}
/**
* @return The Schedule param.
*
*/
public String schedule() {
return this.schedule;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetQosPolicyRuleListData defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private GetQosPolicyRuleListDataAction action;
private String description;
private GetQosPolicyRuleListDataDscpTos dscpTos;
private String id;
private String name;
private String schedule;
public Builder() {}
public Builder(GetQosPolicyRuleListData defaults) {
Objects.requireNonNull(defaults);
this.action = defaults.action;
this.description = defaults.description;
this.dscpTos = defaults.dscpTos;
this.id = defaults.id;
this.name = defaults.name;
this.schedule = defaults.schedule;
}
@CustomType.Setter
public Builder action(GetQosPolicyRuleListDataAction action) {
if (action == null) {
throw new MissingRequiredPropertyException("GetQosPolicyRuleListData", "action");
}
this.action = action;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetQosPolicyRuleListData", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder dscpTos(GetQosPolicyRuleListDataDscpTos dscpTos) {
if (dscpTos == null) {
throw new MissingRequiredPropertyException("GetQosPolicyRuleListData", "dscpTos");
}
this.dscpTos = dscpTos;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetQosPolicyRuleListData", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetQosPolicyRuleListData", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder schedule(String schedule) {
if (schedule == null) {
throw new MissingRequiredPropertyException("GetQosPolicyRuleListData", "schedule");
}
this.schedule = schedule;
return this;
}
public GetQosPolicyRuleListData build() {
final var _resultValue = new GetQosPolicyRuleListData();
_resultValue.action = action;
_resultValue.description = description;
_resultValue.dscpTos = dscpTos;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.schedule = schedule;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy