com.pulumi.sumologic.outputs.HierarchyLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelNextLevelsWithConditionLevel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sumologic Show documentation
Show all versions of sumologic Show documentation
A Pulumi package for creating and managing sumologic cloud resources.
The newest version!
// *** 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.sumologic.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.sumologic.outputs.HierarchyLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelNextLevelsWithConditionLevelNextLevel;
import com.pulumi.sumologic.outputs.HierarchyLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithCondition;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class HierarchyLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelNextLevelsWithConditionLevel {
/**
* @return Indicates the name and type for all entities at this hierarchy level, e.g. service or pod in case of kubernetes entities.
*
*/
private String entityType;
/**
* @return Next level without a condition.
*
* The following attributes are exported:
*
*/
private @Nullable HierarchyLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelNextLevelsWithConditionLevelNextLevel nextLevel;
/**
* @return Zero or more next levels with conditions.
*
*/
private @Nullable List nextLevelsWithConditions;
private HierarchyLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelNextLevelsWithConditionLevel() {}
/**
* @return Indicates the name and type for all entities at this hierarchy level, e.g. service or pod in case of kubernetes entities.
*
*/
public String entityType() {
return this.entityType;
}
/**
* @return Next level without a condition.
*
* The following attributes are exported:
*
*/
public Optional nextLevel() {
return Optional.ofNullable(this.nextLevel);
}
/**
* @return Zero or more next levels with conditions.
*
*/
public List nextLevelsWithConditions() {
return this.nextLevelsWithConditions == null ? List.of() : this.nextLevelsWithConditions;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HierarchyLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelNextLevelsWithConditionLevel defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String entityType;
private @Nullable HierarchyLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelNextLevelsWithConditionLevelNextLevel nextLevel;
private @Nullable List nextLevelsWithConditions;
public Builder() {}
public Builder(HierarchyLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelNextLevelsWithConditionLevel defaults) {
Objects.requireNonNull(defaults);
this.entityType = defaults.entityType;
this.nextLevel = defaults.nextLevel;
this.nextLevelsWithConditions = defaults.nextLevelsWithConditions;
}
@CustomType.Setter
public Builder entityType(String entityType) {
if (entityType == null) {
throw new MissingRequiredPropertyException("HierarchyLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelNextLevelsWithConditionLevel", "entityType");
}
this.entityType = entityType;
return this;
}
@CustomType.Setter
public Builder nextLevel(@Nullable HierarchyLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelNextLevelsWithConditionLevelNextLevel nextLevel) {
this.nextLevel = nextLevel;
return this;
}
@CustomType.Setter
public Builder nextLevelsWithConditions(@Nullable List nextLevelsWithConditions) {
this.nextLevelsWithConditions = nextLevelsWithConditions;
return this;
}
public Builder nextLevelsWithConditions(HierarchyLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithCondition... nextLevelsWithConditions) {
return nextLevelsWithConditions(List.of(nextLevelsWithConditions));
}
public HierarchyLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelNextLevelsWithConditionLevel build() {
final var _resultValue = new HierarchyLevelNextLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelsWithConditionLevelNextLevelNextLevelsWithConditionLevel();
_resultValue.entityType = entityType;
_resultValue.nextLevel = nextLevel;
_resultValue.nextLevelsWithConditions = nextLevelsWithConditions;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy