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

com.pulumi.azurenative.securityinsights.outputs.DeploymentResponse 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.securityinsights.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 DeploymentResponse {
    /**
     * @return Deployment identifier.
     * 
     */
    private @Nullable String deploymentId;
    /**
     * @return Url to access repository action logs.
     * 
     */
    private @Nullable String deploymentLogsUrl;
    /**
     * @return The outcome of the deployment.
     * 
     */
    private @Nullable String deploymentResult;
    /**
     * @return Current status of the deployment.
     * 
     */
    private @Nullable String deploymentState;
    /**
     * @return The time when the deployment finished.
     * 
     */
    private @Nullable String deploymentTime;

    private DeploymentResponse() {}
    /**
     * @return Deployment identifier.
     * 
     */
    public Optional deploymentId() {
        return Optional.ofNullable(this.deploymentId);
    }
    /**
     * @return Url to access repository action logs.
     * 
     */
    public Optional deploymentLogsUrl() {
        return Optional.ofNullable(this.deploymentLogsUrl);
    }
    /**
     * @return The outcome of the deployment.
     * 
     */
    public Optional deploymentResult() {
        return Optional.ofNullable(this.deploymentResult);
    }
    /**
     * @return Current status of the deployment.
     * 
     */
    public Optional deploymentState() {
        return Optional.ofNullable(this.deploymentState);
    }
    /**
     * @return The time when the deployment finished.
     * 
     */
    public Optional deploymentTime() {
        return Optional.ofNullable(this.deploymentTime);
    }

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

    public static Builder builder(DeploymentResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String deploymentId;
        private @Nullable String deploymentLogsUrl;
        private @Nullable String deploymentResult;
        private @Nullable String deploymentState;
        private @Nullable String deploymentTime;
        public Builder() {}
        public Builder(DeploymentResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.deploymentId = defaults.deploymentId;
    	      this.deploymentLogsUrl = defaults.deploymentLogsUrl;
    	      this.deploymentResult = defaults.deploymentResult;
    	      this.deploymentState = defaults.deploymentState;
    	      this.deploymentTime = defaults.deploymentTime;
        }

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

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

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

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

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

            this.deploymentTime = deploymentTime;
            return this;
        }
        public DeploymentResponse build() {
            final var _resultValue = new DeploymentResponse();
            _resultValue.deploymentId = deploymentId;
            _resultValue.deploymentLogsUrl = deploymentLogsUrl;
            _resultValue.deploymentResult = deploymentResult;
            _resultValue.deploymentState = deploymentState;
            _resultValue.deploymentTime = deploymentTime;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy