com.pulumi.azurenative.management.outputs.ManagementGroupChildInfoResponse 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.
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.azurenative.management.outputs;
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 ManagementGroupChildInfoResponse {
/**
* @return The list of children.
*
*/
private @Nullable List children;
/**
* @return The friendly name of the child resource.
*
*/
private @Nullable String displayName;
/**
* @return The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
*
*/
private @Nullable String id;
/**
* @return The name of the child entity.
*
*/
private @Nullable String name;
/**
* @return The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups)
*
*/
private @Nullable String type;
private ManagementGroupChildInfoResponse() {}
/**
* @return The list of children.
*
*/
public List children() {
return this.children == null ? List.of() : this.children;
}
/**
* @return The friendly name of the child resource.
*
*/
public Optional displayName() {
return Optional.ofNullable(this.displayName);
}
/**
* @return The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return The name of the child entity.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups)
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ManagementGroupChildInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List children;
private @Nullable String displayName;
private @Nullable String id;
private @Nullable String name;
private @Nullable String type;
public Builder() {}
public Builder(ManagementGroupChildInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.children = defaults.children;
this.displayName = defaults.displayName;
this.id = defaults.id;
this.name = defaults.name;
this.type = defaults.type;
}
@CustomType.Setter
public Builder children(@Nullable List children) {
this.children = children;
return this;
}
public Builder children(ManagementGroupChildInfoResponse... children) {
return children(List.of(children));
}
@CustomType.Setter
public Builder displayName(@Nullable String displayName) {
this.displayName = displayName;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public ManagementGroupChildInfoResponse build() {
final var _resultValue = new ManagementGroupChildInfoResponse();
_resultValue.children = children;
_resultValue.displayName = displayName;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy