com.ovhcloud.pulumi.ovh.CloudProjectDatabase.outputs.GetCapabilitiesPlan 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.CloudProjectDatabase.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetCapabilitiesPlan {
/**
* @return Automatic backup retention duration.
*
*/
private String backupRetention;
/**
* @return Description of the plan.
*
*/
private String description;
/**
* @return Name of the plan.
*
*/
private String name;
private GetCapabilitiesPlan() {}
/**
* @return Automatic backup retention duration.
*
*/
public String backupRetention() {
return this.backupRetention;
}
/**
* @return Description of the plan.
*
*/
public String description() {
return this.description;
}
/**
* @return Name of the plan.
*
*/
public String name() {
return this.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetCapabilitiesPlan defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String backupRetention;
private String description;
private String name;
public Builder() {}
public Builder(GetCapabilitiesPlan defaults) {
Objects.requireNonNull(defaults);
this.backupRetention = defaults.backupRetention;
this.description = defaults.description;
this.name = defaults.name;
}
@CustomType.Setter
public Builder backupRetention(String backupRetention) {
if (backupRetention == null) {
throw new MissingRequiredPropertyException("GetCapabilitiesPlan", "backupRetention");
}
this.backupRetention = backupRetention;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetCapabilitiesPlan", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetCapabilitiesPlan", "name");
}
this.name = name;
return this;
}
public GetCapabilitiesPlan build() {
final var _resultValue = new GetCapabilitiesPlan();
_resultValue.backupRetention = backupRetention;
_resultValue.description = description;
_resultValue.name = name;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy