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

com.pulumi.azure.appplatform.inputs.SpringCloudCertificateState 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.appplatform.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 SpringCloudCertificateState extends com.pulumi.resources.ResourceArgs {

    public static final SpringCloudCertificateState Empty = new SpringCloudCertificateState();

    /**
     * The content of uploaded certificate. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="certificateContent")
    private @Nullable Output certificateContent;

    /**
     * @return The content of uploaded certificate. Changing this forces a new resource to be created.
     * 
     */
    public Optional> certificateContent() {
        return Optional.ofNullable(this.certificateContent);
    }

    /**
     * Specifies whether the private key should be excluded from the Key Vault Certificate. Changing this forces a new resource to be created. Defaults to `false`.
     * 
     */
    @Import(name="excludePrivateKey")
    private @Nullable Output excludePrivateKey;

    /**
     * @return Specifies whether the private key should be excluded from the Key Vault Certificate. Changing this forces a new resource to be created. Defaults to `false`.
     * 
     */
    public Optional> excludePrivateKey() {
        return Optional.ofNullable(this.excludePrivateKey);
    }

    /**
     * Specifies the ID of the Key Vault Certificate resource. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="keyVaultCertificateId")
    private @Nullable Output keyVaultCertificateId;

    /**
     * @return Specifies the ID of the Key Vault Certificate resource. Changing this forces a new resource to be created.
     * 
     */
    public Optional> keyVaultCertificateId() {
        return Optional.ofNullable(this.keyVaultCertificateId);
    }

    /**
     * Specifies the name of the Spring Cloud Certificate. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name of the Spring Cloud Certificate. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Specifies the name of the resource group in which to create the Spring Cloud Certificate. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return Specifies the name of the resource group in which to create the Spring Cloud Certificate. Changing this forces a new resource to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="serviceName")
    private @Nullable Output serviceName;

    /**
     * @return Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
     * 
     */
    public Optional> serviceName() {
        return Optional.ofNullable(this.serviceName);
    }

    /**
     * The thumbprint of the Spring Cloud certificate.
     * 
     */
    @Import(name="thumbprint")
    private @Nullable Output thumbprint;

    /**
     * @return The thumbprint of the Spring Cloud certificate.
     * 
     */
    public Optional> thumbprint() {
        return Optional.ofNullable(this.thumbprint);
    }

    private SpringCloudCertificateState() {}

    private SpringCloudCertificateState(SpringCloudCertificateState $) {
        this.certificateContent = $.certificateContent;
        this.excludePrivateKey = $.excludePrivateKey;
        this.keyVaultCertificateId = $.keyVaultCertificateId;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
        this.serviceName = $.serviceName;
        this.thumbprint = $.thumbprint;
    }

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

    public static final class Builder {
        private SpringCloudCertificateState $;

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

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

        /**
         * @param certificateContent The content of uploaded certificate. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder certificateContent(@Nullable Output certificateContent) {
            $.certificateContent = certificateContent;
            return this;
        }

        /**
         * @param certificateContent The content of uploaded certificate. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder certificateContent(String certificateContent) {
            return certificateContent(Output.of(certificateContent));
        }

        /**
         * @param excludePrivateKey Specifies whether the private key should be excluded from the Key Vault Certificate. Changing this forces a new resource to be created. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder excludePrivateKey(@Nullable Output excludePrivateKey) {
            $.excludePrivateKey = excludePrivateKey;
            return this;
        }

        /**
         * @param excludePrivateKey Specifies whether the private key should be excluded from the Key Vault Certificate. Changing this forces a new resource to be created. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder excludePrivateKey(Boolean excludePrivateKey) {
            return excludePrivateKey(Output.of(excludePrivateKey));
        }

        /**
         * @param keyVaultCertificateId Specifies the ID of the Key Vault Certificate resource. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultCertificateId(@Nullable Output keyVaultCertificateId) {
            $.keyVaultCertificateId = keyVaultCertificateId;
            return this;
        }

        /**
         * @param keyVaultCertificateId Specifies the ID of the Key Vault Certificate resource. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder keyVaultCertificateId(String keyVaultCertificateId) {
            return keyVaultCertificateId(Output.of(keyVaultCertificateId));
        }

        /**
         * @param name Specifies the name of the Spring Cloud Certificate. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name of the Spring Cloud Certificate. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceGroupName Specifies the name of the resource group in which to create the Spring Cloud Certificate. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Specifies the name of the resource group in which to create the Spring Cloud Certificate. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param serviceName Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(@Nullable Output serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(String serviceName) {
            return serviceName(Output.of(serviceName));
        }

        /**
         * @param thumbprint The thumbprint of the Spring Cloud certificate.
         * 
         * @return builder
         * 
         */
        public Builder thumbprint(@Nullable Output thumbprint) {
            $.thumbprint = thumbprint;
            return this;
        }

        /**
         * @param thumbprint The thumbprint of the Spring Cloud certificate.
         * 
         * @return builder
         * 
         */
        public Builder thumbprint(String thumbprint) {
            return thumbprint(Output.of(thumbprint));
        }

        public SpringCloudCertificateState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy