com.pulumi.aws.efs.outputs.GetAccessPointsResult 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.efs.outputs;
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 GetAccessPointsResult {
/**
* @return Set of Amazon Resource Names (ARNs).
*
*/
private List arns;
private String fileSystemId;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return Set of identifiers.
*
*/
private List ids;
private GetAccessPointsResult() {}
/**
* @return Set of Amazon Resource Names (ARNs).
*
*/
public List arns() {
return this.arns;
}
public String fileSystemId() {
return this.fileSystemId;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return Set of identifiers.
*
*/
public List ids() {
return this.ids;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAccessPointsResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List arns;
private String fileSystemId;
private String id;
private List ids;
public Builder() {}
public Builder(GetAccessPointsResult defaults) {
Objects.requireNonNull(defaults);
this.arns = defaults.arns;
this.fileSystemId = defaults.fileSystemId;
this.id = defaults.id;
this.ids = defaults.ids;
}
@CustomType.Setter
public Builder arns(List arns) {
if (arns == null) {
throw new MissingRequiredPropertyException("GetAccessPointsResult", "arns");
}
this.arns = arns;
return this;
}
public Builder arns(String... arns) {
return arns(List.of(arns));
}
@CustomType.Setter
public Builder fileSystemId(String fileSystemId) {
if (fileSystemId == null) {
throw new MissingRequiredPropertyException("GetAccessPointsResult", "fileSystemId");
}
this.fileSystemId = fileSystemId;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetAccessPointsResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder ids(List ids) {
if (ids == null) {
throw new MissingRequiredPropertyException("GetAccessPointsResult", "ids");
}
this.ids = ids;
return this;
}
public Builder ids(String... ids) {
return ids(List.of(ids));
}
public GetAccessPointsResult build() {
final var _resultValue = new GetAccessPointsResult();
_resultValue.arns = arns;
_resultValue.fileSystemId = fileSystemId;
_resultValue.id = id;
_resultValue.ids = ids;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy