com.pulumi.azurenative.dataprotection.outputs.ResourceGuardOperationResponse 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.
The 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.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 ResourceGuardOperationResponse {
/**
* @return Type of resource request.
*
*/
private String requestResourceType;
/**
* @return Name of the critical operation.
*
*/
private String vaultCriticalOperation;
private ResourceGuardOperationResponse() {}
/**
* @return Type of resource request.
*
*/
public String requestResourceType() {
return this.requestResourceType;
}
/**
* @return Name of the critical operation.
*
*/
public String vaultCriticalOperation() {
return this.vaultCriticalOperation;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ResourceGuardOperationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String requestResourceType;
private String vaultCriticalOperation;
public Builder() {}
public Builder(ResourceGuardOperationResponse defaults) {
Objects.requireNonNull(defaults);
this.requestResourceType = defaults.requestResourceType;
this.vaultCriticalOperation = defaults.vaultCriticalOperation;
}
@CustomType.Setter
public Builder requestResourceType(String requestResourceType) {
if (requestResourceType == null) {
throw new MissingRequiredPropertyException("ResourceGuardOperationResponse", "requestResourceType");
}
this.requestResourceType = requestResourceType;
return this;
}
@CustomType.Setter
public Builder vaultCriticalOperation(String vaultCriticalOperation) {
if (vaultCriticalOperation == null) {
throw new MissingRequiredPropertyException("ResourceGuardOperationResponse", "vaultCriticalOperation");
}
this.vaultCriticalOperation = vaultCriticalOperation;
return this;
}
public ResourceGuardOperationResponse build() {
final var _resultValue = new ResourceGuardOperationResponse();
_resultValue.requestResourceType = requestResourceType;
_resultValue.vaultCriticalOperation = vaultCriticalOperation;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy