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

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

There is a newer version: 2.78.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.EventTypeInfoResponse;
import com.pulumi.azurenative.eventgrid.outputs.IdentityInfoResponse;
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.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetPartnerTopicResult {
    /**
     * @return Activation state of the partner topic.
     * 
     */
    private @Nullable String activationState;
    /**
     * @return Event Type information from the corresponding event channel.
     * 
     */
    private @Nullable EventTypeInfoResponse eventTypeInfo;
    /**
     * @return Expiration time of the partner topic. If this timer expires while the partner topic is still never activated,
     * the partner topic and corresponding event channel are deleted.
     * 
     */
    private @Nullable String expirationTimeIfNotActivatedUtc;
    /**
     * @return Fully qualified identifier of the resource.
     * 
     */
    private String id;
    /**
     * @return Identity information for the Partner Topic resource.
     * 
     */
    private @Nullable IdentityInfoResponse identity;
    /**
     * @return Location of the resource.
     * 
     */
    private String location;
    /**
     * @return Context or helpful message that can be used during the approval process by the subscriber.
     * 
     */
    private @Nullable String messageForActivation;
    /**
     * @return Name of the resource.
     * 
     */
    private String name;
    /**
     * @return The immutableId of the corresponding partner registration.
     * 
     */
    private @Nullable String partnerRegistrationImmutableId;
    /**
     * @return Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic.
     * This will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer.
     * 
     */
    private @Nullable String partnerTopicFriendlyDescription;
    /**
     * @return Provisioning state of the partner topic.
     * 
     */
    private String provisioningState;
    /**
     * @return Source associated with this partner topic. This represents a unique partner resource.
     * 
     */
    private @Nullable String source;
    /**
     * @return The system metadata relating to Partner Topic resource.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Tags of the resource.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return Type of the resource.
     * 
     */
    private String type;

    private GetPartnerTopicResult() {}
    /**
     * @return Activation state of the partner topic.
     * 
     */
    public Optional activationState() {
        return Optional.ofNullable(this.activationState);
    }
    /**
     * @return Event Type information from the corresponding event channel.
     * 
     */
    public Optional eventTypeInfo() {
        return Optional.ofNullable(this.eventTypeInfo);
    }
    /**
     * @return Expiration time of the partner topic. If this timer expires while the partner topic is still never activated,
     * the partner topic and corresponding event channel are deleted.
     * 
     */
    public Optional expirationTimeIfNotActivatedUtc() {
        return Optional.ofNullable(this.expirationTimeIfNotActivatedUtc);
    }
    /**
     * @return Fully qualified identifier of the resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Identity information for the Partner Topic resource.
     * 
     */
    public Optional identity() {
        return Optional.ofNullable(this.identity);
    }
    /**
     * @return Location of the resource.
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return Context or helpful message that can be used during the approval process by the subscriber.
     * 
     */
    public Optional messageForActivation() {
        return Optional.ofNullable(this.messageForActivation);
    }
    /**
     * @return Name of the resource.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The immutableId of the corresponding partner registration.
     * 
     */
    public Optional partnerRegistrationImmutableId() {
        return Optional.ofNullable(this.partnerRegistrationImmutableId);
    }
    /**
     * @return Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic.
     * This will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer.
     * 
     */
    public Optional partnerTopicFriendlyDescription() {
        return Optional.ofNullable(this.partnerTopicFriendlyDescription);
    }
    /**
     * @return Provisioning state of the partner topic.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Source associated with this partner topic. This represents a unique partner resource.
     * 
     */
    public Optional source() {
        return Optional.ofNullable(this.source);
    }
    /**
     * @return The system metadata relating to Partner Topic resource.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Tags of the resource.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return Type of the resource.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetPartnerTopicResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String activationState;
        private @Nullable EventTypeInfoResponse eventTypeInfo;
        private @Nullable String expirationTimeIfNotActivatedUtc;
        private String id;
        private @Nullable IdentityInfoResponse identity;
        private String location;
        private @Nullable String messageForActivation;
        private String name;
        private @Nullable String partnerRegistrationImmutableId;
        private @Nullable String partnerTopicFriendlyDescription;
        private String provisioningState;
        private @Nullable String source;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        public Builder() {}
        public Builder(GetPartnerTopicResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.activationState = defaults.activationState;
    	      this.eventTypeInfo = defaults.eventTypeInfo;
    	      this.expirationTimeIfNotActivatedUtc = defaults.expirationTimeIfNotActivatedUtc;
    	      this.id = defaults.id;
    	      this.identity = defaults.identity;
    	      this.location = defaults.location;
    	      this.messageForActivation = defaults.messageForActivation;
    	      this.name = defaults.name;
    	      this.partnerRegistrationImmutableId = defaults.partnerRegistrationImmutableId;
    	      this.partnerTopicFriendlyDescription = defaults.partnerTopicFriendlyDescription;
    	      this.provisioningState = defaults.provisioningState;
    	      this.source = defaults.source;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder activationState(@Nullable String activationState) {

            this.activationState = activationState;
            return this;
        }
        @CustomType.Setter
        public Builder eventTypeInfo(@Nullable EventTypeInfoResponse eventTypeInfo) {

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

            this.expirationTimeIfNotActivatedUtc = expirationTimeIfNotActivatedUtc;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetPartnerTopicResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder identity(@Nullable IdentityInfoResponse identity) {

            this.identity = identity;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetPartnerTopicResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder messageForActivation(@Nullable String messageForActivation) {

            this.messageForActivation = messageForActivation;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetPartnerTopicResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder partnerRegistrationImmutableId(@Nullable String partnerRegistrationImmutableId) {

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

            this.partnerTopicFriendlyDescription = partnerTopicFriendlyDescription;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetPartnerTopicResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder source(@Nullable String source) {

            this.source = source;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetPartnerTopicResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetPartnerTopicResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetPartnerTopicResult build() {
            final var _resultValue = new GetPartnerTopicResult();
            _resultValue.activationState = activationState;
            _resultValue.eventTypeInfo = eventTypeInfo;
            _resultValue.expirationTimeIfNotActivatedUtc = expirationTimeIfNotActivatedUtc;
            _resultValue.id = id;
            _resultValue.identity = identity;
            _resultValue.location = location;
            _resultValue.messageForActivation = messageForActivation;
            _resultValue.name = name;
            _resultValue.partnerRegistrationImmutableId = partnerRegistrationImmutableId;
            _resultValue.partnerTopicFriendlyDescription = partnerTopicFriendlyDescription;
            _resultValue.provisioningState = provisioningState;
            _resultValue.source = source;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy