com.pulumi.meraki.devices.outputs.BaseDetail 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.devices.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 BaseDetail {
/**
* @return Additional property name
*
*/
private @Nullable String name;
/**
* @return Additional property value
*
*/
private @Nullable String value;
private BaseDetail() {}
/**
* @return Additional property name
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Additional property value
*
*/
public Optional value() {
return Optional.ofNullable(this.value);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BaseDetail defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String name;
private @Nullable String value;
public Builder() {}
public Builder(BaseDetail defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.value = defaults.value;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder value(@Nullable String value) {
this.value = value;
return this;
}
public BaseDetail build() {
final var _resultValue = new BaseDetail();
_resultValue.name = name;
_resultValue.value = value;
return _resultValue;
}
}
}