
com.pulumi.aws.emrcontainers.outputs.GetVirtualClusterContainerProvider Maven / Gradle / Ivy
// *** 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.aws.emrcontainers.outputs;
import com.pulumi.aws.emrcontainers.outputs.GetVirtualClusterContainerProviderInfo;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetVirtualClusterContainerProvider {
/**
* @return The name of the container provider that is running your EMR Containers cluster
*
*/
private String id;
/**
* @return Nested list containing information about the configuration of the container provider
*
*/
private List infos;
/**
* @return The type of the container provider
*
*/
private String type;
private GetVirtualClusterContainerProvider() {}
/**
* @return The name of the container provider that is running your EMR Containers cluster
*
*/
public String id() {
return this.id;
}
/**
* @return Nested list containing information about the configuration of the container provider
*
*/
public List infos() {
return this.infos;
}
/**
* @return The type of the container provider
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVirtualClusterContainerProvider defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private List infos;
private String type;
public Builder() {}
public Builder(GetVirtualClusterContainerProvider defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.infos = defaults.infos;
this.type = defaults.type;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetVirtualClusterContainerProvider", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder infos(List infos) {
if (infos == null) {
throw new MissingRequiredPropertyException("GetVirtualClusterContainerProvider", "infos");
}
this.infos = infos;
return this;
}
public Builder infos(GetVirtualClusterContainerProviderInfo... infos) {
return infos(List.of(infos));
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetVirtualClusterContainerProvider", "type");
}
this.type = type;
return this;
}
public GetVirtualClusterContainerProvider build() {
final var _resultValue = new GetVirtualClusterContainerProvider();
_resultValue.id = id;
_resultValue.infos = infos;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy