
com.pulumi.azurenative.dataprotection.outputs.AzureBackupParamsResponse Maven / Gradle / Ivy
// *** 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.dataprotection.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class AzureBackupParamsResponse {
/**
* @return BackupType ; Full/Incremental etc
*
*/
private String backupType;
/**
* @return Type of the specific object - used for deserializing
* Expected value is 'AzureBackupParams'.
*
*/
private String objectType;
private AzureBackupParamsResponse() {}
/**
* @return BackupType ; Full/Incremental etc
*
*/
public String backupType() {
return this.backupType;
}
/**
* @return Type of the specific object - used for deserializing
* Expected value is 'AzureBackupParams'.
*
*/
public String objectType() {
return this.objectType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzureBackupParamsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String backupType;
private String objectType;
public Builder() {}
public Builder(AzureBackupParamsResponse defaults) {
Objects.requireNonNull(defaults);
this.backupType = defaults.backupType;
this.objectType = defaults.objectType;
}
@CustomType.Setter
public Builder backupType(String backupType) {
if (backupType == null) {
throw new MissingRequiredPropertyException("AzureBackupParamsResponse", "backupType");
}
this.backupType = backupType;
return this;
}
@CustomType.Setter
public Builder objectType(String objectType) {
if (objectType == null) {
throw new MissingRequiredPropertyException("AzureBackupParamsResponse", "objectType");
}
this.objectType = objectType;
return this;
}
public AzureBackupParamsResponse build() {
final var _resultValue = new AzureBackupParamsResponse();
_resultValue.backupType = backupType;
_resultValue.objectType = objectType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy