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

com.pulumi.azurenative.documentdb.outputs.BackupPolicyMigrationStateResponse 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.documentdb.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 BackupPolicyMigrationStateResponse {
    /**
     * @return Time at which the backup policy migration started (ISO-8601 format).
     * 
     */
    private @Nullable String startTime;
    /**
     * @return Describes the status of migration between backup policy types.
     * 
     */
    private @Nullable String status;
    /**
     * @return Describes the target backup policy type of the backup policy migration.
     * 
     */
    private @Nullable String targetType;

    private BackupPolicyMigrationStateResponse() {}
    /**
     * @return Time at which the backup policy migration started (ISO-8601 format).
     * 
     */
    public Optional startTime() {
        return Optional.ofNullable(this.startTime);
    }
    /**
     * @return Describes the status of migration between backup policy types.
     * 
     */
    public Optional status() {
        return Optional.ofNullable(this.status);
    }
    /**
     * @return Describes the target backup policy type of the backup policy migration.
     * 
     */
    public Optional targetType() {
        return Optional.ofNullable(this.targetType);
    }

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

    public static Builder builder(BackupPolicyMigrationStateResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String startTime;
        private @Nullable String status;
        private @Nullable String targetType;
        public Builder() {}
        public Builder(BackupPolicyMigrationStateResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.startTime = defaults.startTime;
    	      this.status = defaults.status;
    	      this.targetType = defaults.targetType;
        }

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

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

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

            this.targetType = targetType;
            return this;
        }
        public BackupPolicyMigrationStateResponse build() {
            final var _resultValue = new BackupPolicyMigrationStateResponse();
            _resultValue.startTime = startTime;
            _resultValue.status = status;
            _resultValue.targetType = targetType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy