com.ovhcloud.pulumi.ovh.Dedicated.outputs.GetServerSpecificationsHardwareExpansionCard Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-ovh Show documentation
Show all versions of pulumi-ovh Show documentation
A Pulumi package for creating and managing OVH 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.ovhcloud.pulumi.ovh.Dedicated.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetServerSpecificationsHardwareExpansionCard {
/**
* @return Expansion card description
*
*/
private String description;
/**
* @return Expansion card type enum
*
*/
private String type;
private GetServerSpecificationsHardwareExpansionCard() {}
/**
* @return Expansion card description
*
*/
public String description() {
return this.description;
}
/**
* @return Expansion card type enum
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetServerSpecificationsHardwareExpansionCard defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String description;
private String type;
public Builder() {}
public Builder(GetServerSpecificationsHardwareExpansionCard defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.type = defaults.type;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetServerSpecificationsHardwareExpansionCard", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetServerSpecificationsHardwareExpansionCard", "type");
}
this.type = type;
return this;
}
public GetServerSpecificationsHardwareExpansionCard build() {
final var _resultValue = new GetServerSpecificationsHardwareExpansionCard();
_resultValue.description = description;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy