All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.eventgrid.outputs.GetNamespaceTopicEventSubscriptionResult Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** 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.DeliveryConfigurationResponse;
import com.pulumi.azurenative.eventgrid.outputs.FiltersConfigurationResponse;
import com.pulumi.azurenative.eventgrid.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetNamespaceTopicEventSubscriptionResult {
    /**
     * @return Information about the delivery configuration of the event subscription.
     * 
     */
    private @Nullable DeliveryConfigurationResponse deliveryConfiguration;
    /**
     * @return The event delivery schema for the event subscription.
     * 
     */
    private @Nullable String eventDeliverySchema;
    /**
     * @return Information about the filter for the event subscription.
     * 
     */
    private @Nullable FiltersConfigurationResponse filtersConfiguration;
    /**
     * @return Fully qualified identifier of the resource.
     * 
     */
    private String id;
    /**
     * @return Name of the resource.
     * 
     */
    private String name;
    /**
     * @return Provisioning state of the event subscription.
     * 
     */
    private String provisioningState;
    /**
     * @return The system metadata relating to Event Subscription resource.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Type of the resource.
     * 
     */
    private String type;

    private GetNamespaceTopicEventSubscriptionResult() {}
    /**
     * @return Information about the delivery configuration of the event subscription.
     * 
     */
    public Optional deliveryConfiguration() {
        return Optional.ofNullable(this.deliveryConfiguration);
    }
    /**
     * @return The event delivery schema for the event subscription.
     * 
     */
    public Optional eventDeliverySchema() {
        return Optional.ofNullable(this.eventDeliverySchema);
    }
    /**
     * @return Information about the filter for the event subscription.
     * 
     */
    public Optional filtersConfiguration() {
        return Optional.ofNullable(this.filtersConfiguration);
    }
    /**
     * @return Fully qualified identifier of the resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Name of the resource.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Provisioning state of the event subscription.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The system metadata relating to Event Subscription resource.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Type of the resource.
     * 
     */
    public String type() {
        return this.type;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetNamespaceTopicEventSubscriptionResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable DeliveryConfigurationResponse deliveryConfiguration;
        private @Nullable String eventDeliverySchema;
        private @Nullable FiltersConfigurationResponse filtersConfiguration;
        private String id;
        private String name;
        private String provisioningState;
        private SystemDataResponse systemData;
        private String type;
        public Builder() {}
        public Builder(GetNamespaceTopicEventSubscriptionResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.deliveryConfiguration = defaults.deliveryConfiguration;
    	      this.eventDeliverySchema = defaults.eventDeliverySchema;
    	      this.filtersConfiguration = defaults.filtersConfiguration;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.systemData = defaults.systemData;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder deliveryConfiguration(@Nullable DeliveryConfigurationResponse deliveryConfiguration) {

            this.deliveryConfiguration = deliveryConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder eventDeliverySchema(@Nullable String eventDeliverySchema) {

            this.eventDeliverySchema = eventDeliverySchema;
            return this;
        }
        @CustomType.Setter
        public Builder filtersConfiguration(@Nullable FiltersConfigurationResponse filtersConfiguration) {

            this.filtersConfiguration = filtersConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetNamespaceTopicEventSubscriptionResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetNamespaceTopicEventSubscriptionResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetNamespaceTopicEventSubscriptionResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetNamespaceTopicEventSubscriptionResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetNamespaceTopicEventSubscriptionResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetNamespaceTopicEventSubscriptionResult build() {
            final var _resultValue = new GetNamespaceTopicEventSubscriptionResult();
            _resultValue.deliveryConfiguration = deliveryConfiguration;
            _resultValue.eventDeliverySchema = eventDeliverySchema;
            _resultValue.filtersConfiguration = filtersConfiguration;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.systemData = systemData;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy