
com.pulumi.azurenative.containerinstance.outputs.ContainerGroupPropertiesResponseInstanceView 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.containerinstance.outputs;
import com.pulumi.azurenative.containerinstance.outputs.EventResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class ContainerGroupPropertiesResponseInstanceView {
/**
* @return The events of this container group.
*
*/
private List events;
/**
* @return The state of the container group. Only valid in response.
*
*/
private String state;
private ContainerGroupPropertiesResponseInstanceView() {}
/**
* @return The events of this container group.
*
*/
public List events() {
return this.events;
}
/**
* @return The state of the container group. Only valid in response.
*
*/
public String state() {
return this.state;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ContainerGroupPropertiesResponseInstanceView defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List events;
private String state;
public Builder() {}
public Builder(ContainerGroupPropertiesResponseInstanceView defaults) {
Objects.requireNonNull(defaults);
this.events = defaults.events;
this.state = defaults.state;
}
@CustomType.Setter
public Builder events(List events) {
if (events == null) {
throw new MissingRequiredPropertyException("ContainerGroupPropertiesResponseInstanceView", "events");
}
this.events = events;
return this;
}
public Builder events(EventResponse... events) {
return events(List.of(events));
}
@CustomType.Setter
public Builder state(String state) {
if (state == null) {
throw new MissingRequiredPropertyException("ContainerGroupPropertiesResponseInstanceView", "state");
}
this.state = state;
return this;
}
public ContainerGroupPropertiesResponseInstanceView build() {
final var _resultValue = new ContainerGroupPropertiesResponseInstanceView();
_resultValue.events = events;
_resultValue.state = state;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy