
com.pulumi.azurenative.containerstorage.outputs.AssignmentResponse 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.containerstorage.outputs;
import com.pulumi.azurenative.containerstorage.outputs.AssignmentStatusResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class AssignmentResponse {
/**
* @return Resource id for the assigned resource
*
*/
private String id;
/**
* @return Indicates if the assignment is in a usable state
*
*/
private AssignmentStatusResponse status;
private AssignmentResponse() {}
/**
* @return Resource id for the assigned resource
*
*/
public String id() {
return this.id;
}
/**
* @return Indicates if the assignment is in a usable state
*
*/
public AssignmentStatusResponse status() {
return this.status;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AssignmentResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private AssignmentStatusResponse status;
public Builder() {}
public Builder(AssignmentResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.status = defaults.status;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("AssignmentResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder status(AssignmentStatusResponse status) {
if (status == null) {
throw new MissingRequiredPropertyException("AssignmentResponse", "status");
}
this.status = status;
return this;
}
public AssignmentResponse build() {
final var _resultValue = new AssignmentResponse();
_resultValue.id = id;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy