com.pulumi.meraki.organizations.outputs.GetConfigTemplatesSwitchProfilesItem 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.organizations.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetConfigTemplatesSwitchProfilesItem {
/**
* @return Switch model
*
*/
private String model;
/**
* @return Switch template name
*
*/
private String name;
/**
* @return Switch template id
*
*/
private String switchProfileId;
private GetConfigTemplatesSwitchProfilesItem() {}
/**
* @return Switch model
*
*/
public String model() {
return this.model;
}
/**
* @return Switch template name
*
*/
public String name() {
return this.name;
}
/**
* @return Switch template id
*
*/
public String switchProfileId() {
return this.switchProfileId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetConfigTemplatesSwitchProfilesItem defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String model;
private String name;
private String switchProfileId;
public Builder() {}
public Builder(GetConfigTemplatesSwitchProfilesItem defaults) {
Objects.requireNonNull(defaults);
this.model = defaults.model;
this.name = defaults.name;
this.switchProfileId = defaults.switchProfileId;
}
@CustomType.Setter
public Builder model(String model) {
if (model == null) {
throw new MissingRequiredPropertyException("GetConfigTemplatesSwitchProfilesItem", "model");
}
this.model = model;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetConfigTemplatesSwitchProfilesItem", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder switchProfileId(String switchProfileId) {
if (switchProfileId == null) {
throw new MissingRequiredPropertyException("GetConfigTemplatesSwitchProfilesItem", "switchProfileId");
}
this.switchProfileId = switchProfileId;
return this;
}
public GetConfigTemplatesSwitchProfilesItem build() {
final var _resultValue = new GetConfigTemplatesSwitchProfilesItem();
_resultValue.model = model;
_resultValue.name = name;
_resultValue.switchProfileId = switchProfileId;
return _resultValue;
}
}
}