com.pulumi.azurenative.edgeorder.outputs.GroupedChildConfigurationsResponse 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.edgeorder.outputs;
import com.pulumi.azurenative.edgeorder.outputs.CategoryInformationResponse;
import com.pulumi.azurenative.edgeorder.outputs.ChildConfigurationResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GroupedChildConfigurationsResponse {
/**
* @return Category information.
*
*/
private CategoryInformationResponse categoryInformation;
/**
* @return List of child configurations.
*
*/
private List childConfigurations;
private GroupedChildConfigurationsResponse() {}
/**
* @return Category information.
*
*/
public CategoryInformationResponse categoryInformation() {
return this.categoryInformation;
}
/**
* @return List of child configurations.
*
*/
public List childConfigurations() {
return this.childConfigurations;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GroupedChildConfigurationsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private CategoryInformationResponse categoryInformation;
private List childConfigurations;
public Builder() {}
public Builder(GroupedChildConfigurationsResponse defaults) {
Objects.requireNonNull(defaults);
this.categoryInformation = defaults.categoryInformation;
this.childConfigurations = defaults.childConfigurations;
}
@CustomType.Setter
public Builder categoryInformation(CategoryInformationResponse categoryInformation) {
if (categoryInformation == null) {
throw new MissingRequiredPropertyException("GroupedChildConfigurationsResponse", "categoryInformation");
}
this.categoryInformation = categoryInformation;
return this;
}
@CustomType.Setter
public Builder childConfigurations(List childConfigurations) {
if (childConfigurations == null) {
throw new MissingRequiredPropertyException("GroupedChildConfigurationsResponse", "childConfigurations");
}
this.childConfigurations = childConfigurations;
return this;
}
public Builder childConfigurations(ChildConfigurationResponse... childConfigurations) {
return childConfigurations(List.of(childConfigurations));
}
public GroupedChildConfigurationsResponse build() {
final var _resultValue = new GroupedChildConfigurationsResponse();
_resultValue.categoryInformation = categoryInformation;
_resultValue.childConfigurations = childConfigurations;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy