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

com.pulumi.azurenative.appplatform.outputs.LoadedCertificateResponse 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.appplatform.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class LoadedCertificateResponse {
    /**
     * @return Indicate whether the certificate will be loaded into default trust store, only work for Java runtime.
     * 
     */
    private @Nullable Boolean loadTrustStore;
    /**
     * @return Resource Id of loaded certificate
     * 
     */
    private String resourceId;

    private LoadedCertificateResponse() {}
    /**
     * @return Indicate whether the certificate will be loaded into default trust store, only work for Java runtime.
     * 
     */
    public Optional loadTrustStore() {
        return Optional.ofNullable(this.loadTrustStore);
    }
    /**
     * @return Resource Id of loaded certificate
     * 
     */
    public String resourceId() {
        return this.resourceId;
    }

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

    public static Builder builder(LoadedCertificateResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean loadTrustStore;
        private String resourceId;
        public Builder() {}
        public Builder(LoadedCertificateResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.loadTrustStore = defaults.loadTrustStore;
    	      this.resourceId = defaults.resourceId;
        }

        @CustomType.Setter
        public Builder loadTrustStore(@Nullable Boolean loadTrustStore) {

            this.loadTrustStore = loadTrustStore;
            return this;
        }
        @CustomType.Setter
        public Builder resourceId(String resourceId) {
            if (resourceId == null) {
              throw new MissingRequiredPropertyException("LoadedCertificateResponse", "resourceId");
            }
            this.resourceId = resourceId;
            return this;
        }
        public LoadedCertificateResponse build() {
            final var _resultValue = new LoadedCertificateResponse();
            _resultValue.loadTrustStore = loadTrustStore;
            _resultValue.resourceId = resourceId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy