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

com.pulumi.azurenative.web.outputs.GitHubActionContainerConfigurationResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.web.outputs;

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 GitHubActionContainerConfigurationResponse {
    /**
     * @return The image name for the build.
     * 
     */
    private @Nullable String imageName;
    /**
     * @return The password used to upload the image to the container registry.
     * 
     */
    private @Nullable String password;
    /**
     * @return The server URL for the container registry where the build will be hosted.
     * 
     */
    private @Nullable String serverUrl;
    /**
     * @return The username used to upload the image to the container registry.
     * 
     */
    private @Nullable String username;

    private GitHubActionContainerConfigurationResponse() {}
    /**
     * @return The image name for the build.
     * 
     */
    public Optional imageName() {
        return Optional.ofNullable(this.imageName);
    }
    /**
     * @return The password used to upload the image to the container registry.
     * 
     */
    public Optional password() {
        return Optional.ofNullable(this.password);
    }
    /**
     * @return The server URL for the container registry where the build will be hosted.
     * 
     */
    public Optional serverUrl() {
        return Optional.ofNullable(this.serverUrl);
    }
    /**
     * @return The username used to upload the image to the container registry.
     * 
     */
    public Optional username() {
        return Optional.ofNullable(this.username);
    }

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

    public static Builder builder(GitHubActionContainerConfigurationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String imageName;
        private @Nullable String password;
        private @Nullable String serverUrl;
        private @Nullable String username;
        public Builder() {}
        public Builder(GitHubActionContainerConfigurationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.imageName = defaults.imageName;
    	      this.password = defaults.password;
    	      this.serverUrl = defaults.serverUrl;
    	      this.username = defaults.username;
        }

        @CustomType.Setter
        public Builder imageName(@Nullable String imageName) {

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

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

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

            this.username = username;
            return this;
        }
        public GitHubActionContainerConfigurationResponse build() {
            final var _resultValue = new GitHubActionContainerConfigurationResponse();
            _resultValue.imageName = imageName;
            _resultValue.password = password;
            _resultValue.serverUrl = serverUrl;
            _resultValue.username = username;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy