com.pulumi.azurenative.aad.outputs.ResourceForestSettingsResponse 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.aad.outputs;
import com.pulumi.azurenative.aad.outputs.ForestTrustResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ResourceForestSettingsResponse {
/**
* @return Resource Forest
*
*/
private @Nullable String resourceForest;
/**
* @return List of settings for Resource Forest
*
*/
private @Nullable List settings;
private ResourceForestSettingsResponse() {}
/**
* @return Resource Forest
*
*/
public Optional resourceForest() {
return Optional.ofNullable(this.resourceForest);
}
/**
* @return List of settings for Resource Forest
*
*/
public List settings() {
return this.settings == null ? List.of() : this.settings;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ResourceForestSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String resourceForest;
private @Nullable List settings;
public Builder() {}
public Builder(ResourceForestSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.resourceForest = defaults.resourceForest;
this.settings = defaults.settings;
}
@CustomType.Setter
public Builder resourceForest(@Nullable String resourceForest) {
this.resourceForest = resourceForest;
return this;
}
@CustomType.Setter
public Builder settings(@Nullable List settings) {
this.settings = settings;
return this;
}
public Builder settings(ForestTrustResponse... settings) {
return settings(List.of(settings));
}
public ResourceForestSettingsResponse build() {
final var _resultValue = new ResourceForestSettingsResponse();
_resultValue.resourceForest = resourceForest;
_resultValue.settings = settings;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy