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

com.pulumi.azure.eventhub.inputs.SubscriptionClientScopedSubscriptionArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.eventhub.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class SubscriptionClientScopedSubscriptionArgs extends com.pulumi.resources.ResourceArgs {

    public static final SubscriptionClientScopedSubscriptionArgs Empty = new SubscriptionClientScopedSubscriptionArgs();

    /**
     * Specifies the Client ID of the application that created the client-scoped subscription. Changing this forces a new resource to be created.
     * 
     * > **NOTE:** Client ID can be null or empty, but it must match the client ID set on the JMS client application. From the Azure Service Bus perspective, a null client ID and an empty client id have the same behavior. If the client ID is set to null or empty, it is only accessible to client applications whose client ID is also set to null or empty.
     * 
     */
    @Import(name="clientId")
    private @Nullable Output clientId;

    /**
     * @return Specifies the Client ID of the application that created the client-scoped subscription. Changing this forces a new resource to be created.
     * 
     * > **NOTE:** Client ID can be null or empty, but it must match the client ID set on the JMS client application. From the Azure Service Bus perspective, a null client ID and an empty client id have the same behavior. If the client ID is set to null or empty, it is only accessible to client applications whose client ID is also set to null or empty.
     * 
     */
    public Optional> clientId() {
        return Optional.ofNullable(this.clientId);
    }

    /**
     * Whether the client scoped subscription is durable. This property can only be controlled from the application side.
     * 
     */
    @Import(name="isClientScopedSubscriptionDurable")
    private @Nullable Output isClientScopedSubscriptionDurable;

    /**
     * @return Whether the client scoped subscription is durable. This property can only be controlled from the application side.
     * 
     */
    public Optional> isClientScopedSubscriptionDurable() {
        return Optional.ofNullable(this.isClientScopedSubscriptionDurable);
    }

    /**
     * Whether the client scoped subscription is shareable. Defaults to `true` Changing this forces a new resource to be created.
     * 
     */
    @Import(name="isClientScopedSubscriptionShareable")
    private @Nullable Output isClientScopedSubscriptionShareable;

    /**
     * @return Whether the client scoped subscription is shareable. Defaults to `true` Changing this forces a new resource to be created.
     * 
     */
    public Optional> isClientScopedSubscriptionShareable() {
        return Optional.ofNullable(this.isClientScopedSubscriptionShareable);
    }

    private SubscriptionClientScopedSubscriptionArgs() {}

    private SubscriptionClientScopedSubscriptionArgs(SubscriptionClientScopedSubscriptionArgs $) {
        this.clientId = $.clientId;
        this.isClientScopedSubscriptionDurable = $.isClientScopedSubscriptionDurable;
        this.isClientScopedSubscriptionShareable = $.isClientScopedSubscriptionShareable;
    }

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

    public static final class Builder {
        private SubscriptionClientScopedSubscriptionArgs $;

        public Builder() {
            $ = new SubscriptionClientScopedSubscriptionArgs();
        }

        public Builder(SubscriptionClientScopedSubscriptionArgs defaults) {
            $ = new SubscriptionClientScopedSubscriptionArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param clientId Specifies the Client ID of the application that created the client-scoped subscription. Changing this forces a new resource to be created.
         * 
         * > **NOTE:** Client ID can be null or empty, but it must match the client ID set on the JMS client application. From the Azure Service Bus perspective, a null client ID and an empty client id have the same behavior. If the client ID is set to null or empty, it is only accessible to client applications whose client ID is also set to null or empty.
         * 
         * @return builder
         * 
         */
        public Builder clientId(@Nullable Output clientId) {
            $.clientId = clientId;
            return this;
        }

        /**
         * @param clientId Specifies the Client ID of the application that created the client-scoped subscription. Changing this forces a new resource to be created.
         * 
         * > **NOTE:** Client ID can be null or empty, but it must match the client ID set on the JMS client application. From the Azure Service Bus perspective, a null client ID and an empty client id have the same behavior. If the client ID is set to null or empty, it is only accessible to client applications whose client ID is also set to null or empty.
         * 
         * @return builder
         * 
         */
        public Builder clientId(String clientId) {
            return clientId(Output.of(clientId));
        }

        /**
         * @param isClientScopedSubscriptionDurable Whether the client scoped subscription is durable. This property can only be controlled from the application side.
         * 
         * @return builder
         * 
         */
        public Builder isClientScopedSubscriptionDurable(@Nullable Output isClientScopedSubscriptionDurable) {
            $.isClientScopedSubscriptionDurable = isClientScopedSubscriptionDurable;
            return this;
        }

        /**
         * @param isClientScopedSubscriptionDurable Whether the client scoped subscription is durable. This property can only be controlled from the application side.
         * 
         * @return builder
         * 
         */
        public Builder isClientScopedSubscriptionDurable(Boolean isClientScopedSubscriptionDurable) {
            return isClientScopedSubscriptionDurable(Output.of(isClientScopedSubscriptionDurable));
        }

        /**
         * @param isClientScopedSubscriptionShareable Whether the client scoped subscription is shareable. Defaults to `true` Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder isClientScopedSubscriptionShareable(@Nullable Output isClientScopedSubscriptionShareable) {
            $.isClientScopedSubscriptionShareable = isClientScopedSubscriptionShareable;
            return this;
        }

        /**
         * @param isClientScopedSubscriptionShareable Whether the client scoped subscription is shareable. Defaults to `true` Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder isClientScopedSubscriptionShareable(Boolean isClientScopedSubscriptionShareable) {
            return isClientScopedSubscriptionShareable(Output.of(isClientScopedSubscriptionShareable));
        }

        public SubscriptionClientScopedSubscriptionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy