
com.pulumi.azurenative.compute.outputs.SharingStatusResponse 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.compute.outputs;
import com.pulumi.azurenative.compute.outputs.RegionalSharingStatusResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class SharingStatusResponse {
/**
* @return Aggregated sharing state of current gallery.
*
*/
private String aggregatedState;
/**
* @return Summary of all regional sharing status.
*
*/
private @Nullable List summary;
private SharingStatusResponse() {}
/**
* @return Aggregated sharing state of current gallery.
*
*/
public String aggregatedState() {
return this.aggregatedState;
}
/**
* @return Summary of all regional sharing status.
*
*/
public List summary() {
return this.summary == null ? List.of() : this.summary;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SharingStatusResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String aggregatedState;
private @Nullable List summary;
public Builder() {}
public Builder(SharingStatusResponse defaults) {
Objects.requireNonNull(defaults);
this.aggregatedState = defaults.aggregatedState;
this.summary = defaults.summary;
}
@CustomType.Setter
public Builder aggregatedState(String aggregatedState) {
if (aggregatedState == null) {
throw new MissingRequiredPropertyException("SharingStatusResponse", "aggregatedState");
}
this.aggregatedState = aggregatedState;
return this;
}
@CustomType.Setter
public Builder summary(@Nullable List summary) {
this.summary = summary;
return this;
}
public Builder summary(RegionalSharingStatusResponse... summary) {
return summary(List.of(summary));
}
public SharingStatusResponse build() {
final var _resultValue = new SharingStatusResponse();
_resultValue.aggregatedState = aggregatedState;
_resultValue.summary = summary;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy