com.pulumi.aws.opensearch.outputs.GetServerlessVpcEndpointResult 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.
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.aws.opensearch.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 GetServerlessVpcEndpointResult {
/**
* @return The date the endpoint was created.
*
*/
private String createdDate;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return The name of the endpoint.
*
*/
private String name;
/**
* @return The IDs of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
*
*/
private List securityGroupIds;
/**
* @return The IDs of the subnets from which you access OpenSearch Serverless.
*
*/
private List subnetIds;
private String vpcEndpointId;
/**
* @return The ID of the VPC from which you access OpenSearch Serverless.
*
*/
private String vpcId;
private GetServerlessVpcEndpointResult() {}
/**
* @return The date the endpoint was created.
*
*/
public String createdDate() {
return this.createdDate;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return The name of the endpoint.
*
*/
public String name() {
return this.name;
}
/**
* @return The IDs of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
*
*/
public List securityGroupIds() {
return this.securityGroupIds;
}
/**
* @return The IDs of the subnets from which you access OpenSearch Serverless.
*
*/
public List subnetIds() {
return this.subnetIds;
}
public String vpcEndpointId() {
return this.vpcEndpointId;
}
/**
* @return The ID of the VPC from which you access OpenSearch Serverless.
*
*/
public String vpcId() {
return this.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetServerlessVpcEndpointResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String createdDate;
private String id;
private String name;
private List securityGroupIds;
private List subnetIds;
private String vpcEndpointId;
private String vpcId;
public Builder() {}
public Builder(GetServerlessVpcEndpointResult defaults) {
Objects.requireNonNull(defaults);
this.createdDate = defaults.createdDate;
this.id = defaults.id;
this.name = defaults.name;
this.securityGroupIds = defaults.securityGroupIds;
this.subnetIds = defaults.subnetIds;
this.vpcEndpointId = defaults.vpcEndpointId;
this.vpcId = defaults.vpcId;
}
@CustomType.Setter
public Builder createdDate(String createdDate) {
if (createdDate == null) {
throw new MissingRequiredPropertyException("GetServerlessVpcEndpointResult", "createdDate");
}
this.createdDate = createdDate;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetServerlessVpcEndpointResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetServerlessVpcEndpointResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder securityGroupIds(List securityGroupIds) {
if (securityGroupIds == null) {
throw new MissingRequiredPropertyException("GetServerlessVpcEndpointResult", "securityGroupIds");
}
this.securityGroupIds = securityGroupIds;
return this;
}
public Builder securityGroupIds(String... securityGroupIds) {
return securityGroupIds(List.of(securityGroupIds));
}
@CustomType.Setter
public Builder subnetIds(List subnetIds) {
if (subnetIds == null) {
throw new MissingRequiredPropertyException("GetServerlessVpcEndpointResult", "subnetIds");
}
this.subnetIds = subnetIds;
return this;
}
public Builder subnetIds(String... subnetIds) {
return subnetIds(List.of(subnetIds));
}
@CustomType.Setter
public Builder vpcEndpointId(String vpcEndpointId) {
if (vpcEndpointId == null) {
throw new MissingRequiredPropertyException("GetServerlessVpcEndpointResult", "vpcEndpointId");
}
this.vpcEndpointId = vpcEndpointId;
return this;
}
@CustomType.Setter
public Builder vpcId(String vpcId) {
if (vpcId == null) {
throw new MissingRequiredPropertyException("GetServerlessVpcEndpointResult", "vpcId");
}
this.vpcId = vpcId;
return this;
}
public GetServerlessVpcEndpointResult build() {
final var _resultValue = new GetServerlessVpcEndpointResult();
_resultValue.createdDate = createdDate;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.securityGroupIds = securityGroupIds;
_resultValue.subnetIds = subnetIds;
_resultValue.vpcEndpointId = vpcEndpointId;
_resultValue.vpcId = vpcId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy