
com.pulumi.azurenative.recoveryservices.outputs.MabContainerExtendedInfoResponse 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.recoveryservices.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class MabContainerExtendedInfoResponse {
/**
* @return Type of backup items associated with this container.
*
*/
private @Nullable String backupItemType;
/**
* @return List of backup items associated with this container.
*
*/
private @Nullable List backupItems;
/**
* @return Latest backup status of this container.
*
*/
private @Nullable String lastBackupStatus;
/**
* @return Time stamp when this container was refreshed.
*
*/
private @Nullable String lastRefreshedAt;
/**
* @return Backup policy associated with this container.
*
*/
private @Nullable String policyName;
private MabContainerExtendedInfoResponse() {}
/**
* @return Type of backup items associated with this container.
*
*/
public Optional backupItemType() {
return Optional.ofNullable(this.backupItemType);
}
/**
* @return List of backup items associated with this container.
*
*/
public List backupItems() {
return this.backupItems == null ? List.of() : this.backupItems;
}
/**
* @return Latest backup status of this container.
*
*/
public Optional lastBackupStatus() {
return Optional.ofNullable(this.lastBackupStatus);
}
/**
* @return Time stamp when this container was refreshed.
*
*/
public Optional lastRefreshedAt() {
return Optional.ofNullable(this.lastRefreshedAt);
}
/**
* @return Backup policy associated with this container.
*
*/
public Optional policyName() {
return Optional.ofNullable(this.policyName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MabContainerExtendedInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String backupItemType;
private @Nullable List backupItems;
private @Nullable String lastBackupStatus;
private @Nullable String lastRefreshedAt;
private @Nullable String policyName;
public Builder() {}
public Builder(MabContainerExtendedInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.backupItemType = defaults.backupItemType;
this.backupItems = defaults.backupItems;
this.lastBackupStatus = defaults.lastBackupStatus;
this.lastRefreshedAt = defaults.lastRefreshedAt;
this.policyName = defaults.policyName;
}
@CustomType.Setter
public Builder backupItemType(@Nullable String backupItemType) {
this.backupItemType = backupItemType;
return this;
}
@CustomType.Setter
public Builder backupItems(@Nullable List backupItems) {
this.backupItems = backupItems;
return this;
}
public Builder backupItems(String... backupItems) {
return backupItems(List.of(backupItems));
}
@CustomType.Setter
public Builder lastBackupStatus(@Nullable String lastBackupStatus) {
this.lastBackupStatus = lastBackupStatus;
return this;
}
@CustomType.Setter
public Builder lastRefreshedAt(@Nullable String lastRefreshedAt) {
this.lastRefreshedAt = lastRefreshedAt;
return this;
}
@CustomType.Setter
public Builder policyName(@Nullable String policyName) {
this.policyName = policyName;
return this;
}
public MabContainerExtendedInfoResponse build() {
final var _resultValue = new MabContainerExtendedInfoResponse();
_resultValue.backupItemType = backupItemType;
_resultValue.backupItems = backupItems;
_resultValue.lastBackupStatus = lastBackupStatus;
_resultValue.lastRefreshedAt = lastRefreshedAt;
_resultValue.policyName = policyName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy