
com.pulumi.azurenative.insights.outputs.GetWorkbookResult 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.insights.outputs;
import com.pulumi.azurenative.insights.outputs.SystemDataResponse;
import com.pulumi.azurenative.insights.outputs.WorkbookResourceResponseIdentity;
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 GetWorkbookResult {
/**
* @return Workbook category, as defined by the user at creation time.
*
*/
private String category;
/**
* @return The description of the workbook.
*
*/
private @Nullable String description;
/**
* @return The user-defined name (display name) of the workbook.
*
*/
private String displayName;
/**
* @return Resource etag
*
*/
private @Nullable String etag;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return Identity used for BYOS
*
*/
private @Nullable WorkbookResourceResponseIdentity identity;
/**
* @return The kind of workbook. Only valid value is shared.
*
*/
private @Nullable String kind;
/**
* @return The geo-location where the resource lives
*
*/
private String location;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return The unique revision id for this workbook definition
*
*/
private String revision;
/**
* @return Configuration of this particular workbook. Configuration data is a string containing valid JSON
*
*/
private String serializedData;
/**
* @return ResourceId for a source resource.
*
*/
private @Nullable String sourceId;
/**
* @return The resourceId to the storage account when bring your own storage is used
*
*/
private @Nullable String storageUri;
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return Date and time in UTC of the last modification that was made to this workbook definition.
*
*/
private String timeModified;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
/**
* @return Unique user id of the specific user that owns this workbook.
*
*/
private String userId;
/**
* @return Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData
*
*/
private @Nullable String version;
private GetWorkbookResult() {}
/**
* @return Workbook category, as defined by the user at creation time.
*
*/
public String category() {
return this.category;
}
/**
* @return The description of the workbook.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return The user-defined name (display name) of the workbook.
*
*/
public String displayName() {
return this.displayName;
}
/**
* @return Resource etag
*
*/
public Optional etag() {
return Optional.ofNullable(this.etag);
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return Identity used for BYOS
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return The kind of workbook. Only valid value is shared.
*
*/
public Optional kind() {
return Optional.ofNullable(this.kind);
}
/**
* @return The geo-location where the resource lives
*
*/
public String location() {
return this.location;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return The unique revision id for this workbook definition
*
*/
public String revision() {
return this.revision;
}
/**
* @return Configuration of this particular workbook. Configuration data is a string containing valid JSON
*
*/
public String serializedData() {
return this.serializedData;
}
/**
* @return ResourceId for a source resource.
*
*/
public Optional sourceId() {
return Optional.ofNullable(this.sourceId);
}
/**
* @return The resourceId to the storage account when bring your own storage is used
*
*/
public Optional storageUri() {
return Optional.ofNullable(this.storageUri);
}
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return Date and time in UTC of the last modification that was made to this workbook definition.
*
*/
public String timeModified() {
return this.timeModified;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
/**
* @return Unique user id of the specific user that owns this workbook.
*
*/
public String userId() {
return this.userId;
}
/**
* @return Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData
*
*/
public Optional version() {
return Optional.ofNullable(this.version);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWorkbookResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String category;
private @Nullable String description;
private String displayName;
private @Nullable String etag;
private String id;
private @Nullable WorkbookResourceResponseIdentity identity;
private @Nullable String kind;
private String location;
private String name;
private String revision;
private String serializedData;
private @Nullable String sourceId;
private @Nullable String storageUri;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String timeModified;
private String type;
private String userId;
private @Nullable String version;
public Builder() {}
public Builder(GetWorkbookResult defaults) {
Objects.requireNonNull(defaults);
this.category = defaults.category;
this.description = defaults.description;
this.displayName = defaults.displayName;
this.etag = defaults.etag;
this.id = defaults.id;
this.identity = defaults.identity;
this.kind = defaults.kind;
this.location = defaults.location;
this.name = defaults.name;
this.revision = defaults.revision;
this.serializedData = defaults.serializedData;
this.sourceId = defaults.sourceId;
this.storageUri = defaults.storageUri;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.timeModified = defaults.timeModified;
this.type = defaults.type;
this.userId = defaults.userId;
this.version = defaults.version;
}
@CustomType.Setter
public Builder category(String category) {
if (category == null) {
throw new MissingRequiredPropertyException("GetWorkbookResult", "category");
}
this.category = category;
return this;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder displayName(String displayName) {
if (displayName == null) {
throw new MissingRequiredPropertyException("GetWorkbookResult", "displayName");
}
this.displayName = displayName;
return this;
}
@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("GetWorkbookResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable WorkbookResourceResponseIdentity identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder kind(@Nullable String kind) {
this.kind = kind;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetWorkbookResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetWorkbookResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder revision(String revision) {
if (revision == null) {
throw new MissingRequiredPropertyException("GetWorkbookResult", "revision");
}
this.revision = revision;
return this;
}
@CustomType.Setter
public Builder serializedData(String serializedData) {
if (serializedData == null) {
throw new MissingRequiredPropertyException("GetWorkbookResult", "serializedData");
}
this.serializedData = serializedData;
return this;
}
@CustomType.Setter
public Builder sourceId(@Nullable String sourceId) {
this.sourceId = sourceId;
return this;
}
@CustomType.Setter
public Builder storageUri(@Nullable String storageUri) {
this.storageUri = storageUri;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetWorkbookResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder timeModified(String timeModified) {
if (timeModified == null) {
throw new MissingRequiredPropertyException("GetWorkbookResult", "timeModified");
}
this.timeModified = timeModified;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetWorkbookResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder userId(String userId) {
if (userId == null) {
throw new MissingRequiredPropertyException("GetWorkbookResult", "userId");
}
this.userId = userId;
return this;
}
@CustomType.Setter
public Builder version(@Nullable String version) {
this.version = version;
return this;
}
public GetWorkbookResult build() {
final var _resultValue = new GetWorkbookResult();
_resultValue.category = category;
_resultValue.description = description;
_resultValue.displayName = displayName;
_resultValue.etag = etag;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.kind = kind;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.revision = revision;
_resultValue.serializedData = serializedData;
_resultValue.sourceId = sourceId;
_resultValue.storageUri = storageUri;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.timeModified = timeModified;
_resultValue.type = type;
_resultValue.userId = userId;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy