com.pulumi.azurenative.cloudngfw.outputs.EventHubResponse 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.cloudngfw.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 EventHubResponse {
/**
* @return Resource ID of EventHub
*
*/
private @Nullable String id;
/**
* @return EventHub name
*
*/
private @Nullable String name;
/**
* @return EventHub namespace
*
*/
private @Nullable String nameSpace;
/**
* @return EventHub policy name
*
*/
private @Nullable String policyName;
/**
* @return Subscription Id
*
*/
private @Nullable String subscriptionId;
private EventHubResponse() {}
/**
* @return Resource ID of EventHub
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return EventHub name
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return EventHub namespace
*
*/
public Optional nameSpace() {
return Optional.ofNullable(this.nameSpace);
}
/**
* @return EventHub policy name
*
*/
public Optional policyName() {
return Optional.ofNullable(this.policyName);
}
/**
* @return Subscription Id
*
*/
public Optional subscriptionId() {
return Optional.ofNullable(this.subscriptionId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EventHubResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String id;
private @Nullable String name;
private @Nullable String nameSpace;
private @Nullable String policyName;
private @Nullable String subscriptionId;
public Builder() {}
public Builder(EventHubResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.name = defaults.name;
this.nameSpace = defaults.nameSpace;
this.policyName = defaults.policyName;
this.subscriptionId = defaults.subscriptionId;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder nameSpace(@Nullable String nameSpace) {
this.nameSpace = nameSpace;
return this;
}
@CustomType.Setter
public Builder policyName(@Nullable String policyName) {
this.policyName = policyName;
return this;
}
@CustomType.Setter
public Builder subscriptionId(@Nullable String subscriptionId) {
this.subscriptionId = subscriptionId;
return this;
}
public EventHubResponse build() {
final var _resultValue = new EventHubResponse();
_resultValue.id = id;
_resultValue.name = name;
_resultValue.nameSpace = nameSpace;
_resultValue.policyName = policyName;
_resultValue.subscriptionId = subscriptionId;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy