
com.pulumi.aws.vpclattice.outputs.GetServiceNetworkResult 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.vpclattice.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetServiceNetworkResult {
/**
* @return ARN of the Service Network.
*
*/
private String arn;
/**
* @return Authentication type for the service network. Either `NONE` or `AWS_IAM`.
*
*/
private String authType;
/**
* @return Date and time the service network was created.
*
*/
private String createdAt;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return Date and time the service network was last updated.
*
*/
private String lastUpdatedAt;
/**
* @return Name of the service network.
*
*/
private String name;
/**
* @return Number of services associated with this service network.
*
*/
private Integer numberOfAssociatedServices;
/**
* @return Number of VPCs associated with this service network.
*
*/
private Integer numberOfAssociatedVpcs;
private String serviceNetworkIdentifier;
private Map tags;
private GetServiceNetworkResult() {}
/**
* @return ARN of the Service Network.
*
*/
public String arn() {
return this.arn;
}
/**
* @return Authentication type for the service network. Either `NONE` or `AWS_IAM`.
*
*/
public String authType() {
return this.authType;
}
/**
* @return Date and time the service network was created.
*
*/
public String createdAt() {
return this.createdAt;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return Date and time the service network was last updated.
*
*/
public String lastUpdatedAt() {
return this.lastUpdatedAt;
}
/**
* @return Name of the service network.
*
*/
public String name() {
return this.name;
}
/**
* @return Number of services associated with this service network.
*
*/
public Integer numberOfAssociatedServices() {
return this.numberOfAssociatedServices;
}
/**
* @return Number of VPCs associated with this service network.
*
*/
public Integer numberOfAssociatedVpcs() {
return this.numberOfAssociatedVpcs;
}
public String serviceNetworkIdentifier() {
return this.serviceNetworkIdentifier;
}
public Map tags() {
return this.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetServiceNetworkResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String arn;
private String authType;
private String createdAt;
private String id;
private String lastUpdatedAt;
private String name;
private Integer numberOfAssociatedServices;
private Integer numberOfAssociatedVpcs;
private String serviceNetworkIdentifier;
private Map tags;
public Builder() {}
public Builder(GetServiceNetworkResult defaults) {
Objects.requireNonNull(defaults);
this.arn = defaults.arn;
this.authType = defaults.authType;
this.createdAt = defaults.createdAt;
this.id = defaults.id;
this.lastUpdatedAt = defaults.lastUpdatedAt;
this.name = defaults.name;
this.numberOfAssociatedServices = defaults.numberOfAssociatedServices;
this.numberOfAssociatedVpcs = defaults.numberOfAssociatedVpcs;
this.serviceNetworkIdentifier = defaults.serviceNetworkIdentifier;
this.tags = defaults.tags;
}
@CustomType.Setter
public Builder arn(String arn) {
if (arn == null) {
throw new MissingRequiredPropertyException("GetServiceNetworkResult", "arn");
}
this.arn = arn;
return this;
}
@CustomType.Setter
public Builder authType(String authType) {
if (authType == null) {
throw new MissingRequiredPropertyException("GetServiceNetworkResult", "authType");
}
this.authType = authType;
return this;
}
@CustomType.Setter
public Builder createdAt(String createdAt) {
if (createdAt == null) {
throw new MissingRequiredPropertyException("GetServiceNetworkResult", "createdAt");
}
this.createdAt = createdAt;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetServiceNetworkResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder lastUpdatedAt(String lastUpdatedAt) {
if (lastUpdatedAt == null) {
throw new MissingRequiredPropertyException("GetServiceNetworkResult", "lastUpdatedAt");
}
this.lastUpdatedAt = lastUpdatedAt;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetServiceNetworkResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder numberOfAssociatedServices(Integer numberOfAssociatedServices) {
if (numberOfAssociatedServices == null) {
throw new MissingRequiredPropertyException("GetServiceNetworkResult", "numberOfAssociatedServices");
}
this.numberOfAssociatedServices = numberOfAssociatedServices;
return this;
}
@CustomType.Setter
public Builder numberOfAssociatedVpcs(Integer numberOfAssociatedVpcs) {
if (numberOfAssociatedVpcs == null) {
throw new MissingRequiredPropertyException("GetServiceNetworkResult", "numberOfAssociatedVpcs");
}
this.numberOfAssociatedVpcs = numberOfAssociatedVpcs;
return this;
}
@CustomType.Setter
public Builder serviceNetworkIdentifier(String serviceNetworkIdentifier) {
if (serviceNetworkIdentifier == null) {
throw new MissingRequiredPropertyException("GetServiceNetworkResult", "serviceNetworkIdentifier");
}
this.serviceNetworkIdentifier = serviceNetworkIdentifier;
return this;
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetServiceNetworkResult", "tags");
}
this.tags = tags;
return this;
}
public GetServiceNetworkResult build() {
final var _resultValue = new GetServiceNetworkResult();
_resultValue.arn = arn;
_resultValue.authType = authType;
_resultValue.createdAt = createdAt;
_resultValue.id = id;
_resultValue.lastUpdatedAt = lastUpdatedAt;
_resultValue.name = name;
_resultValue.numberOfAssociatedServices = numberOfAssociatedServices;
_resultValue.numberOfAssociatedVpcs = numberOfAssociatedVpcs;
_resultValue.serviceNetworkIdentifier = serviceNetworkIdentifier;
_resultValue.tags = tags;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy