com.pulumi.azurenative.datamigration.outputs.BackupFileInfoResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.datamigration.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class BackupFileInfoResponse {
/**
* @return Sequence number of the backup file in the backup set
*
*/
private @Nullable Integer familySequenceNumber;
/**
* @return Location of the backup file in shared folder
*
*/
private @Nullable String fileLocation;
/**
* @return Status of the backup file during migration
*
*/
private @Nullable String status;
private BackupFileInfoResponse() {}
/**
* @return Sequence number of the backup file in the backup set
*
*/
public Optional familySequenceNumber() {
return Optional.ofNullable(this.familySequenceNumber);
}
/**
* @return Location of the backup file in shared folder
*
*/
public Optional fileLocation() {
return Optional.ofNullable(this.fileLocation);
}
/**
* @return Status of the backup file during migration
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BackupFileInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer familySequenceNumber;
private @Nullable String fileLocation;
private @Nullable String status;
public Builder() {}
public Builder(BackupFileInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.familySequenceNumber = defaults.familySequenceNumber;
this.fileLocation = defaults.fileLocation;
this.status = defaults.status;
}
@CustomType.Setter
public Builder familySequenceNumber(@Nullable Integer familySequenceNumber) {
this.familySequenceNumber = familySequenceNumber;
return this;
}
@CustomType.Setter
public Builder fileLocation(@Nullable String fileLocation) {
this.fileLocation = fileLocation;
return this;
}
@CustomType.Setter
public Builder status(@Nullable String status) {
this.status = status;
return this;
}
public BackupFileInfoResponse build() {
final var _resultValue = new BackupFileInfoResponse();
_resultValue.familySequenceNumber = familySequenceNumber;
_resultValue.fileLocation = fileLocation;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy