com.pulumi.azurenative.databricks.outputs.CreatedByResponse 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.databricks.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class CreatedByResponse {
/**
* @return The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
*
*/
private String applicationId;
/**
* @return The Object ID that created the workspace.
*
*/
private String oid;
/**
* @return The Personal Object ID corresponding to the object ID above
*
*/
private String puid;
private CreatedByResponse() {}
/**
* @return The application ID of the application that initiated the creation of the workspace. For example, Azure Portal.
*
*/
public String applicationId() {
return this.applicationId;
}
/**
* @return The Object ID that created the workspace.
*
*/
public String oid() {
return this.oid;
}
/**
* @return The Personal Object ID corresponding to the object ID above
*
*/
public String puid() {
return this.puid;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CreatedByResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String applicationId;
private String oid;
private String puid;
public Builder() {}
public Builder(CreatedByResponse defaults) {
Objects.requireNonNull(defaults);
this.applicationId = defaults.applicationId;
this.oid = defaults.oid;
this.puid = defaults.puid;
}
@CustomType.Setter
public Builder applicationId(String applicationId) {
if (applicationId == null) {
throw new MissingRequiredPropertyException("CreatedByResponse", "applicationId");
}
this.applicationId = applicationId;
return this;
}
@CustomType.Setter
public Builder oid(String oid) {
if (oid == null) {
throw new MissingRequiredPropertyException("CreatedByResponse", "oid");
}
this.oid = oid;
return this;
}
@CustomType.Setter
public Builder puid(String puid) {
if (puid == null) {
throw new MissingRequiredPropertyException("CreatedByResponse", "puid");
}
this.puid = puid;
return this;
}
public CreatedByResponse build() {
final var _resultValue = new CreatedByResponse();
_resultValue.applicationId = applicationId;
_resultValue.oid = oid;
_resultValue.puid = puid;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy