com.pulumi.azurenative.recoveryservices.outputs.DataStoreResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.recoveryservices.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 DataStoreResponse {
/**
* @return The capacity of data store in GBs.
*
*/
private @Nullable String capacity;
/**
* @return The free space of data store in GBs.
*
*/
private @Nullable String freeSpace;
/**
* @return The symbolic name of data store.
*
*/
private @Nullable String symbolicName;
/**
* @return The type of data store.
*
*/
private @Nullable String type;
/**
* @return The uuid of data store.
*
*/
private @Nullable String uuid;
private DataStoreResponse() {}
/**
* @return The capacity of data store in GBs.
*
*/
public Optional capacity() {
return Optional.ofNullable(this.capacity);
}
/**
* @return The free space of data store in GBs.
*
*/
public Optional freeSpace() {
return Optional.ofNullable(this.freeSpace);
}
/**
* @return The symbolic name of data store.
*
*/
public Optional symbolicName() {
return Optional.ofNullable(this.symbolicName);
}
/**
* @return The type of data store.
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
/**
* @return The uuid of data store.
*
*/
public Optional uuid() {
return Optional.ofNullable(this.uuid);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataStoreResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String capacity;
private @Nullable String freeSpace;
private @Nullable String symbolicName;
private @Nullable String type;
private @Nullable String uuid;
public Builder() {}
public Builder(DataStoreResponse defaults) {
Objects.requireNonNull(defaults);
this.capacity = defaults.capacity;
this.freeSpace = defaults.freeSpace;
this.symbolicName = defaults.symbolicName;
this.type = defaults.type;
this.uuid = defaults.uuid;
}
@CustomType.Setter
public Builder capacity(@Nullable String capacity) {
this.capacity = capacity;
return this;
}
@CustomType.Setter
public Builder freeSpace(@Nullable String freeSpace) {
this.freeSpace = freeSpace;
return this;
}
@CustomType.Setter
public Builder symbolicName(@Nullable String symbolicName) {
this.symbolicName = symbolicName;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
@CustomType.Setter
public Builder uuid(@Nullable String uuid) {
this.uuid = uuid;
return this;
}
public DataStoreResponse build() {
final var _resultValue = new DataStoreResponse();
_resultValue.capacity = capacity;
_resultValue.freeSpace = freeSpace;
_resultValue.symbolicName = symbolicName;
_resultValue.type = type;
_resultValue.uuid = uuid;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy