com.pulumi.alicloud.cen.outputs.GetChildInstanceRouteEntryToAttachmentsAttachment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud 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.alicloud.cen.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetChildInstanceRouteEntryToAttachmentsAttachment {
/**
* @return The ID of the CEN instance.
*
*/
private String cenId;
/**
* @return The first ID of the resource
*
*/
private String childInstanceRouteTableId;
/**
* @return DestinationCidrBlock
*
*/
private String destinationCidrBlock;
/**
* @return The ID of the resource. The value is formulated as `<cen_id>:<child_instance_route_table_id>:<transit_router_attachment_id>:<destination_cidr_block>`.
*
*/
private String id;
/**
* @return ServiceType
*
*/
private String serviceType;
/**
* @return The status of the resource
*
*/
private String status;
/**
* @return TransitRouterAttachmentId
*
*/
private String transitRouterAttachmentId;
private GetChildInstanceRouteEntryToAttachmentsAttachment() {}
/**
* @return The ID of the CEN instance.
*
*/
public String cenId() {
return this.cenId;
}
/**
* @return The first ID of the resource
*
*/
public String childInstanceRouteTableId() {
return this.childInstanceRouteTableId;
}
/**
* @return DestinationCidrBlock
*
*/
public String destinationCidrBlock() {
return this.destinationCidrBlock;
}
/**
* @return The ID of the resource. The value is formulated as `<cen_id>:<child_instance_route_table_id>:<transit_router_attachment_id>:<destination_cidr_block>`.
*
*/
public String id() {
return this.id;
}
/**
* @return ServiceType
*
*/
public String serviceType() {
return this.serviceType;
}
/**
* @return The status of the resource
*
*/
public String status() {
return this.status;
}
/**
* @return TransitRouterAttachmentId
*
*/
public String transitRouterAttachmentId() {
return this.transitRouterAttachmentId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetChildInstanceRouteEntryToAttachmentsAttachment defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String cenId;
private String childInstanceRouteTableId;
private String destinationCidrBlock;
private String id;
private String serviceType;
private String status;
private String transitRouterAttachmentId;
public Builder() {}
public Builder(GetChildInstanceRouteEntryToAttachmentsAttachment defaults) {
Objects.requireNonNull(defaults);
this.cenId = defaults.cenId;
this.childInstanceRouteTableId = defaults.childInstanceRouteTableId;
this.destinationCidrBlock = defaults.destinationCidrBlock;
this.id = defaults.id;
this.serviceType = defaults.serviceType;
this.status = defaults.status;
this.transitRouterAttachmentId = defaults.transitRouterAttachmentId;
}
@CustomType.Setter
public Builder cenId(String cenId) {
if (cenId == null) {
throw new MissingRequiredPropertyException("GetChildInstanceRouteEntryToAttachmentsAttachment", "cenId");
}
this.cenId = cenId;
return this;
}
@CustomType.Setter
public Builder childInstanceRouteTableId(String childInstanceRouteTableId) {
if (childInstanceRouteTableId == null) {
throw new MissingRequiredPropertyException("GetChildInstanceRouteEntryToAttachmentsAttachment", "childInstanceRouteTableId");
}
this.childInstanceRouteTableId = childInstanceRouteTableId;
return this;
}
@CustomType.Setter
public Builder destinationCidrBlock(String destinationCidrBlock) {
if (destinationCidrBlock == null) {
throw new MissingRequiredPropertyException("GetChildInstanceRouteEntryToAttachmentsAttachment", "destinationCidrBlock");
}
this.destinationCidrBlock = destinationCidrBlock;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetChildInstanceRouteEntryToAttachmentsAttachment", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder serviceType(String serviceType) {
if (serviceType == null) {
throw new MissingRequiredPropertyException("GetChildInstanceRouteEntryToAttachmentsAttachment", "serviceType");
}
this.serviceType = serviceType;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetChildInstanceRouteEntryToAttachmentsAttachment", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder transitRouterAttachmentId(String transitRouterAttachmentId) {
if (transitRouterAttachmentId == null) {
throw new MissingRequiredPropertyException("GetChildInstanceRouteEntryToAttachmentsAttachment", "transitRouterAttachmentId");
}
this.transitRouterAttachmentId = transitRouterAttachmentId;
return this;
}
public GetChildInstanceRouteEntryToAttachmentsAttachment build() {
final var _resultValue = new GetChildInstanceRouteEntryToAttachmentsAttachment();
_resultValue.cenId = cenId;
_resultValue.childInstanceRouteTableId = childInstanceRouteTableId;
_resultValue.destinationCidrBlock = destinationCidrBlock;
_resultValue.id = id;
_resultValue.serviceType = serviceType;
_resultValue.status = status;
_resultValue.transitRouterAttachmentId = transitRouterAttachmentId;
return _resultValue;
}
}
}