
com.pulumi.azurenative.eventgrid.outputs.PartnerTopicInfoResponse 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.eventgrid.outputs;
import com.pulumi.azurenative.eventgrid.outputs.EventTypeInfoResponse;
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 PartnerTopicInfoResponse {
/**
* @return Azure subscription ID of the subscriber. The partner topic associated with the channel will be
* created under this Azure subscription.
*
*/
private @Nullable String azureSubscriptionId;
/**
* @return Event Type Information for the partner topic. This information is provided by the publisher and can be used by the
* subscriber to view different types of events that are published.
*
*/
private @Nullable EventTypeInfoResponse eventTypeInfo;
/**
* @return Name of the partner topic associated with the channel.
*
*/
private @Nullable String name;
/**
* @return Azure Resource Group of the subscriber. The partner topic associated with the channel will be
* created under this resource group.
*
*/
private @Nullable String resourceGroupName;
/**
* @return The source information is provided by the publisher to determine the scope or context from which the events
* are originating. This information can be used by the subscriber during the approval process of the
* created partner topic.
*
*/
private @Nullable String source;
private PartnerTopicInfoResponse() {}
/**
* @return Azure subscription ID of the subscriber. The partner topic associated with the channel will be
* created under this Azure subscription.
*
*/
public Optional azureSubscriptionId() {
return Optional.ofNullable(this.azureSubscriptionId);
}
/**
* @return Event Type Information for the partner topic. This information is provided by the publisher and can be used by the
* subscriber to view different types of events that are published.
*
*/
public Optional eventTypeInfo() {
return Optional.ofNullable(this.eventTypeInfo);
}
/**
* @return Name of the partner topic associated with the channel.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Azure Resource Group of the subscriber. The partner topic associated with the channel will be
* created under this resource group.
*
*/
public Optional resourceGroupName() {
return Optional.ofNullable(this.resourceGroupName);
}
/**
* @return The source information is provided by the publisher to determine the scope or context from which the events
* are originating. This information can be used by the subscriber during the approval process of the
* created partner topic.
*
*/
public Optional source() {
return Optional.ofNullable(this.source);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PartnerTopicInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String azureSubscriptionId;
private @Nullable EventTypeInfoResponse eventTypeInfo;
private @Nullable String name;
private @Nullable String resourceGroupName;
private @Nullable String source;
public Builder() {}
public Builder(PartnerTopicInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.azureSubscriptionId = defaults.azureSubscriptionId;
this.eventTypeInfo = defaults.eventTypeInfo;
this.name = defaults.name;
this.resourceGroupName = defaults.resourceGroupName;
this.source = defaults.source;
}
@CustomType.Setter
public Builder azureSubscriptionId(@Nullable String azureSubscriptionId) {
this.azureSubscriptionId = azureSubscriptionId;
return this;
}
@CustomType.Setter
public Builder eventTypeInfo(@Nullable EventTypeInfoResponse eventTypeInfo) {
this.eventTypeInfo = eventTypeInfo;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder resourceGroupName(@Nullable String resourceGroupName) {
this.resourceGroupName = resourceGroupName;
return this;
}
@CustomType.Setter
public Builder source(@Nullable String source) {
this.source = source;
return this;
}
public PartnerTopicInfoResponse build() {
final var _resultValue = new PartnerTopicInfoResponse();
_resultValue.azureSubscriptionId = azureSubscriptionId;
_resultValue.eventTypeInfo = eventTypeInfo;
_resultValue.name = name;
_resultValue.resourceGroupName = resourceGroupName;
_resultValue.source = source;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy