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

com.pulumi.azurenative.batch.outputs.ListBatchAccountKeysResult 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.batch.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ListBatchAccountKeysResult {
    /**
     * @return The Batch account name.
     * 
     */
    private String accountName;
    /**
     * @return The primary key associated with the account.
     * 
     */
    private String primary;
    /**
     * @return The secondary key associated with the account.
     * 
     */
    private String secondary;

    private ListBatchAccountKeysResult() {}
    /**
     * @return The Batch account name.
     * 
     */
    public String accountName() {
        return this.accountName;
    }
    /**
     * @return The primary key associated with the account.
     * 
     */
    public String primary() {
        return this.primary;
    }
    /**
     * @return The secondary key associated with the account.
     * 
     */
    public String secondary() {
        return this.secondary;
    }

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

    public static Builder builder(ListBatchAccountKeysResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String accountName;
        private String primary;
        private String secondary;
        public Builder() {}
        public Builder(ListBatchAccountKeysResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accountName = defaults.accountName;
    	      this.primary = defaults.primary;
    	      this.secondary = defaults.secondary;
        }

        @CustomType.Setter
        public Builder accountName(String accountName) {
            if (accountName == null) {
              throw new MissingRequiredPropertyException("ListBatchAccountKeysResult", "accountName");
            }
            this.accountName = accountName;
            return this;
        }
        @CustomType.Setter
        public Builder primary(String primary) {
            if (primary == null) {
              throw new MissingRequiredPropertyException("ListBatchAccountKeysResult", "primary");
            }
            this.primary = primary;
            return this;
        }
        @CustomType.Setter
        public Builder secondary(String secondary) {
            if (secondary == null) {
              throw new MissingRequiredPropertyException("ListBatchAccountKeysResult", "secondary");
            }
            this.secondary = secondary;
            return this;
        }
        public ListBatchAccountKeysResult build() {
            final var _resultValue = new ListBatchAccountKeysResult();
            _resultValue.accountName = accountName;
            _resultValue.primary = primary;
            _resultValue.secondary = secondary;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy