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

com.pulumi.azure.cdn.outputs.GetFrontdoorSecretResult 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.cdn.outputs;

import com.pulumi.azure.cdn.outputs.GetFrontdoorSecretSecret;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetFrontdoorSecretResult {
    /**
     * @return Specifies the ID of the Front Door Profile within which this Front Door Secret exists.
     * 
     */
    private String cdnFrontdoorProfileId;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private String name;
    private String profileName;
    private String resourceGroupName;
    /**
     * @return A `secret` block as defined below.
     * 
     */
    private List secrets;

    private GetFrontdoorSecretResult() {}
    /**
     * @return Specifies the ID of the Front Door Profile within which this Front Door Secret exists.
     * 
     */
    public String cdnFrontdoorProfileId() {
        return this.cdnFrontdoorProfileId;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public String name() {
        return this.name;
    }
    public String profileName() {
        return this.profileName;
    }
    public String resourceGroupName() {
        return this.resourceGroupName;
    }
    /**
     * @return A `secret` block as defined below.
     * 
     */
    public List secrets() {
        return this.secrets;
    }

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

    public static Builder builder(GetFrontdoorSecretResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String cdnFrontdoorProfileId;
        private String id;
        private String name;
        private String profileName;
        private String resourceGroupName;
        private List secrets;
        public Builder() {}
        public Builder(GetFrontdoorSecretResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cdnFrontdoorProfileId = defaults.cdnFrontdoorProfileId;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.profileName = defaults.profileName;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.secrets = defaults.secrets;
        }

        @CustomType.Setter
        public Builder cdnFrontdoorProfileId(String cdnFrontdoorProfileId) {
            if (cdnFrontdoorProfileId == null) {
              throw new MissingRequiredPropertyException("GetFrontdoorSecretResult", "cdnFrontdoorProfileId");
            }
            this.cdnFrontdoorProfileId = cdnFrontdoorProfileId;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetFrontdoorSecretResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetFrontdoorSecretResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder profileName(String profileName) {
            if (profileName == null) {
              throw new MissingRequiredPropertyException("GetFrontdoorSecretResult", "profileName");
            }
            this.profileName = profileName;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupName(String resourceGroupName) {
            if (resourceGroupName == null) {
              throw new MissingRequiredPropertyException("GetFrontdoorSecretResult", "resourceGroupName");
            }
            this.resourceGroupName = resourceGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder secrets(List secrets) {
            if (secrets == null) {
              throw new MissingRequiredPropertyException("GetFrontdoorSecretResult", "secrets");
            }
            this.secrets = secrets;
            return this;
        }
        public Builder secrets(GetFrontdoorSecretSecret... secrets) {
            return secrets(List.of(secrets));
        }
        public GetFrontdoorSecretResult build() {
            final var _resultValue = new GetFrontdoorSecretResult();
            _resultValue.cdnFrontdoorProfileId = cdnFrontdoorProfileId;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.profileName = profileName;
            _resultValue.resourceGroupName = resourceGroupName;
            _resultValue.secrets = secrets;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy