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

com.pulumi.azurenative.batch.outputs.ContainerRegistryResponse 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.azurenative.batch.outputs.ComputeNodeIdentityReferenceResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ContainerRegistryResponse {
    /**
     * @return The reference to a user assigned identity associated with the Batch pool which a compute node will use.
     * 
     */
    private @Nullable ComputeNodeIdentityReferenceResponse identityReference;
    private @Nullable String password;
    /**
     * @return If omitted, the default is "docker.io".
     * 
     */
    private @Nullable String registryServer;
    private @Nullable String userName;

    private ContainerRegistryResponse() {}
    /**
     * @return The reference to a user assigned identity associated with the Batch pool which a compute node will use.
     * 
     */
    public Optional identityReference() {
        return Optional.ofNullable(this.identityReference);
    }
    public Optional password() {
        return Optional.ofNullable(this.password);
    }
    /**
     * @return If omitted, the default is "docker.io".
     * 
     */
    public Optional registryServer() {
        return Optional.ofNullable(this.registryServer);
    }
    public Optional userName() {
        return Optional.ofNullable(this.userName);
    }

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

    public static Builder builder(ContainerRegistryResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ComputeNodeIdentityReferenceResponse identityReference;
        private @Nullable String password;
        private @Nullable String registryServer;
        private @Nullable String userName;
        public Builder() {}
        public Builder(ContainerRegistryResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.identityReference = defaults.identityReference;
    	      this.password = defaults.password;
    	      this.registryServer = defaults.registryServer;
    	      this.userName = defaults.userName;
        }

        @CustomType.Setter
        public Builder identityReference(@Nullable ComputeNodeIdentityReferenceResponse identityReference) {

            this.identityReference = identityReference;
            return this;
        }
        @CustomType.Setter
        public Builder password(@Nullable String password) {

            this.password = password;
            return this;
        }
        @CustomType.Setter
        public Builder registryServer(@Nullable String registryServer) {

            this.registryServer = registryServer;
            return this;
        }
        @CustomType.Setter
        public Builder userName(@Nullable String userName) {

            this.userName = userName;
            return this;
        }
        public ContainerRegistryResponse build() {
            final var _resultValue = new ContainerRegistryResponse();
            _resultValue.identityReference = identityReference;
            _resultValue.password = password;
            _resultValue.registryServer = registryServer;
            _resultValue.userName = userName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy