
com.pulumi.azurenative.hybriddata.outputs.GetDataManagerResult Maven / Gradle / Ivy
// *** 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.hybriddata.outputs;
import com.pulumi.azurenative.hybriddata.outputs.SkuResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetDataManagerResult {
/**
* @return Etag of the Resource.
*
*/
private @Nullable String etag;
/**
* @return The Resource Id.
*
*/
private String id;
/**
* @return The location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East
* US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo
* region is specified on update the request will succeed.
*
*/
private String location;
/**
* @return The Resource Name.
*
*/
private String name;
/**
* @return The sku type.
*
*/
private @Nullable SkuResponse sku;
/**
* @return The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource
* (across resource groups).
*
*/
private @Nullable Map tags;
/**
* @return The Resource type.
*
*/
private String type;
private GetDataManagerResult() {}
/**
* @return Etag of the Resource.
*
*/
public Optional etag() {
return Optional.ofNullable(this.etag);
}
/**
* @return The Resource Id.
*
*/
public String id() {
return this.id;
}
/**
* @return The location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East
* US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo
* region is specified on update the request will succeed.
*
*/
public String location() {
return this.location;
}
/**
* @return The Resource Name.
*
*/
public String name() {
return this.name;
}
/**
* @return The sku type.
*
*/
public Optional sku() {
return Optional.ofNullable(this.sku);
}
/**
* @return The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource
* (across resource groups).
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The Resource type.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDataManagerResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String etag;
private String id;
private String location;
private String name;
private @Nullable SkuResponse sku;
private @Nullable Map tags;
private String type;
public Builder() {}
public Builder(GetDataManagerResult defaults) {
Objects.requireNonNull(defaults);
this.etag = defaults.etag;
this.id = defaults.id;
this.location = defaults.location;
this.name = defaults.name;
this.sku = defaults.sku;
this.tags = defaults.tags;
this.type = defaults.type;
}
@CustomType.Setter
public Builder etag(@Nullable String etag) {
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetDataManagerResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetDataManagerResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetDataManagerResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder sku(@Nullable SkuResponse sku) {
this.sku = sku;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetDataManagerResult", "type");
}
this.type = type;
return this;
}
public GetDataManagerResult build() {
final var _resultValue = new GetDataManagerResult();
_resultValue.etag = etag;
_resultValue.id = id;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.sku = sku;
_resultValue.tags = tags;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy