
com.pulumi.azurenative.resources.outputs.ManagedResourceReferenceResponse 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.resources.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ManagedResourceReferenceResponse {
/**
* @return denyAssignment settings applied to the resource.
*
*/
private @Nullable String denyStatus;
/**
* @return The resourceId of a resource managed by the deployment stack.
*
*/
private String id;
/**
* @return Current management state of the resource in the deployment stack.
*
*/
private @Nullable String status;
private ManagedResourceReferenceResponse() {}
/**
* @return denyAssignment settings applied to the resource.
*
*/
public Optional denyStatus() {
return Optional.ofNullable(this.denyStatus);
}
/**
* @return The resourceId of a resource managed by the deployment stack.
*
*/
public String id() {
return this.id;
}
/**
* @return Current management state of the resource in the deployment stack.
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ManagedResourceReferenceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String denyStatus;
private String id;
private @Nullable String status;
public Builder() {}
public Builder(ManagedResourceReferenceResponse defaults) {
Objects.requireNonNull(defaults);
this.denyStatus = defaults.denyStatus;
this.id = defaults.id;
this.status = defaults.status;
}
@CustomType.Setter
public Builder denyStatus(@Nullable String denyStatus) {
this.denyStatus = denyStatus;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("ManagedResourceReferenceResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder status(@Nullable String status) {
this.status = status;
return this;
}
public ManagedResourceReferenceResponse build() {
final var _resultValue = new ManagedResourceReferenceResponse();
_resultValue.denyStatus = denyStatus;
_resultValue.id = id;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy