
com.pulumi.aws.lb.outputs.GetLbsResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.lb.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class GetLbsResult {
/**
* @return Set of Load Balancer ARNs.
*
*/
private List arns;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private @Nullable Map tags;
private GetLbsResult() {}
/**
* @return Set of Load Balancer ARNs.
*
*/
public List arns() {
return this.arns;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetLbsResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List arns;
private String id;
private @Nullable Map tags;
public Builder() {}
public Builder(GetLbsResult defaults) {
Objects.requireNonNull(defaults);
this.arns = defaults.arns;
this.id = defaults.id;
this.tags = defaults.tags;
}
@CustomType.Setter
public Builder arns(List arns) {
if (arns == null) {
throw new MissingRequiredPropertyException("GetLbsResult", "arns");
}
this.arns = arns;
return this;
}
public Builder arns(String... arns) {
return arns(List.of(arns));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetLbsResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
public GetLbsResult build() {
final var _resultValue = new GetLbsResult();
_resultValue.arns = arns;
_resultValue.id = id;
_resultValue.tags = tags;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy