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

com.pulumi.azurenative.recoveryservices.outputs.VaultPropertiesResponseMoveDetails Maven / Gradle / Ivy

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

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

@CustomType
public final class VaultPropertiesResponseMoveDetails {
    /**
     * @return End Time of the Resource Move Operation
     * 
     */
    private String completionTimeUtc;
    /**
     * @return OperationId of the Resource Move Operation
     * 
     */
    private String operationId;
    /**
     * @return Source Resource of the Resource Move Operation
     * 
     */
    private String sourceResourceId;
    /**
     * @return Start Time of the Resource Move Operation
     * 
     */
    private String startTimeUtc;
    /**
     * @return Target Resource of the Resource Move Operation
     * 
     */
    private String targetResourceId;

    private VaultPropertiesResponseMoveDetails() {}
    /**
     * @return End Time of the Resource Move Operation
     * 
     */
    public String completionTimeUtc() {
        return this.completionTimeUtc;
    }
    /**
     * @return OperationId of the Resource Move Operation
     * 
     */
    public String operationId() {
        return this.operationId;
    }
    /**
     * @return Source Resource of the Resource Move Operation
     * 
     */
    public String sourceResourceId() {
        return this.sourceResourceId;
    }
    /**
     * @return Start Time of the Resource Move Operation
     * 
     */
    public String startTimeUtc() {
        return this.startTimeUtc;
    }
    /**
     * @return Target Resource of the Resource Move Operation
     * 
     */
    public String targetResourceId() {
        return this.targetResourceId;
    }

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

    public static Builder builder(VaultPropertiesResponseMoveDetails defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String completionTimeUtc;
        private String operationId;
        private String sourceResourceId;
        private String startTimeUtc;
        private String targetResourceId;
        public Builder() {}
        public Builder(VaultPropertiesResponseMoveDetails defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.completionTimeUtc = defaults.completionTimeUtc;
    	      this.operationId = defaults.operationId;
    	      this.sourceResourceId = defaults.sourceResourceId;
    	      this.startTimeUtc = defaults.startTimeUtc;
    	      this.targetResourceId = defaults.targetResourceId;
        }

        @CustomType.Setter
        public Builder completionTimeUtc(String completionTimeUtc) {
            if (completionTimeUtc == null) {
              throw new MissingRequiredPropertyException("VaultPropertiesResponseMoveDetails", "completionTimeUtc");
            }
            this.completionTimeUtc = completionTimeUtc;
            return this;
        }
        @CustomType.Setter
        public Builder operationId(String operationId) {
            if (operationId == null) {
              throw new MissingRequiredPropertyException("VaultPropertiesResponseMoveDetails", "operationId");
            }
            this.operationId = operationId;
            return this;
        }
        @CustomType.Setter
        public Builder sourceResourceId(String sourceResourceId) {
            if (sourceResourceId == null) {
              throw new MissingRequiredPropertyException("VaultPropertiesResponseMoveDetails", "sourceResourceId");
            }
            this.sourceResourceId = sourceResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder startTimeUtc(String startTimeUtc) {
            if (startTimeUtc == null) {
              throw new MissingRequiredPropertyException("VaultPropertiesResponseMoveDetails", "startTimeUtc");
            }
            this.startTimeUtc = startTimeUtc;
            return this;
        }
        @CustomType.Setter
        public Builder targetResourceId(String targetResourceId) {
            if (targetResourceId == null) {
              throw new MissingRequiredPropertyException("VaultPropertiesResponseMoveDetails", "targetResourceId");
            }
            this.targetResourceId = targetResourceId;
            return this;
        }
        public VaultPropertiesResponseMoveDetails build() {
            final var _resultValue = new VaultPropertiesResponseMoveDetails();
            _resultValue.completionTimeUtc = completionTimeUtc;
            _resultValue.operationId = operationId;
            _resultValue.sourceResourceId = sourceResourceId;
            _resultValue.startTimeUtc = startTimeUtc;
            _resultValue.targetResourceId = targetResourceId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy