com.pulumi.azure.purview.outputs.AccountManagedResource 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.azure.purview.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 AccountManagedResource {
/**
* @return The ID of the managed event hub namespace.
*
*/
private @Nullable String eventHubNamespaceId;
/**
* @return The ID of the managed resource group.
*
*/
private @Nullable String resourceGroupId;
/**
* @return The ID of the managed storage account.
*
*/
private @Nullable String storageAccountId;
private AccountManagedResource() {}
/**
* @return The ID of the managed event hub namespace.
*
*/
public Optional eventHubNamespaceId() {
return Optional.ofNullable(this.eventHubNamespaceId);
}
/**
* @return The ID of the managed resource group.
*
*/
public Optional resourceGroupId() {
return Optional.ofNullable(this.resourceGroupId);
}
/**
* @return The ID of the managed storage account.
*
*/
public Optional storageAccountId() {
return Optional.ofNullable(this.storageAccountId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AccountManagedResource defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String eventHubNamespaceId;
private @Nullable String resourceGroupId;
private @Nullable String storageAccountId;
public Builder() {}
public Builder(AccountManagedResource defaults) {
Objects.requireNonNull(defaults);
this.eventHubNamespaceId = defaults.eventHubNamespaceId;
this.resourceGroupId = defaults.resourceGroupId;
this.storageAccountId = defaults.storageAccountId;
}
@CustomType.Setter
public Builder eventHubNamespaceId(@Nullable String eventHubNamespaceId) {
this.eventHubNamespaceId = eventHubNamespaceId;
return this;
}
@CustomType.Setter
public Builder resourceGroupId(@Nullable String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
@CustomType.Setter
public Builder storageAccountId(@Nullable String storageAccountId) {
this.storageAccountId = storageAccountId;
return this;
}
public AccountManagedResource build() {
final var _resultValue = new AccountManagedResource();
_resultValue.eventHubNamespaceId = eventHubNamespaceId;
_resultValue.resourceGroupId = resourceGroupId;
_resultValue.storageAccountId = storageAccountId;
return _resultValue;
}
}
}