Skip to content

Address

This class encapsulates and extends the ROS resource type DATASOURCE::EIP::Address, which is used to query the information about a created elastic IP address (EIP).

Initializers

import com.aliyun.ros.cdk.vpc.datasource.Address;
Address.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .allocationId(java.lang.String)
    .allocationId(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
    .build();
Name Type Description
scope com.aliyun.ros.cdk.core.Construct No description.
id java.lang.String No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
allocationId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property allocationId: The ID of the EIP instance.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

scopeRequired

  • Type: com.aliyun.ros.cdk.core.Construct

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

allocationIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property allocationId: The ID of the EIP instance.


refreshOptionsOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
getAtt No description.
setMetadata No description.

toString

public java.lang.String toString()

Returns a string representation of this construct.

synthesize

public void synthesize(ISynthesisSession session)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: com.aliyun.ros.cdk.core.ISynthesisSession

The synthesis session.


addCondition

public void addCondition(RosCondition condition)

conditionRequired

  • Type: com.aliyun.ros.cdk.core.RosCondition

addCount

public void addCount(java.lang.Number OR IResolvable count)

countRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

addDependency

public void addDependency(Resource resource)

resourceRequired

  • Type: com.aliyun.ros.cdk.core.Resource

addResourceDesc

public void addResourceDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy(RemovalPolicy policy)

policyRequired

  • Type: com.aliyun.ros.cdk.core.RemovalPolicy

getAtt

public IResolvable getAtt(java.lang.String name)

nameRequired

  • Type: java.lang.String

setMetadata

public void setMetadata(java.lang.String key, java.lang.Object value)

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import com.aliyun.ros.cdk.vpc.datasource.Address;
Address.isConstruct(java.lang.Object x)

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node associated with this construct.
ref java.lang.String No description.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
resource com.aliyun.ros.cdk.core.RosResource No description.
attrAddressName com.aliyun.ros.cdk.core.IResolvable Attribute AddressName: The name of the EIP.
attrAllocationId com.aliyun.ros.cdk.core.IResolvable Attribute AllocationId: The ID of the EIP instance.
attrBandwidth com.aliyun.ros.cdk.core.IResolvable Attribute Bandwidth: The peak bandwidth of the EIP.
attrBandwidthPackageBandwidth com.aliyun.ros.cdk.core.IResolvable Attribute BandwidthPackageBandwidth: The bandwidth value of the Internet shared bandwidth added to the EIP.
attrBandwidthPackageId com.aliyun.ros.cdk.core.IResolvable Attribute BandwidthPackageId: The ID of the added shared bandwidth.
attrBandwidthPackageType com.aliyun.ros.cdk.core.IResolvable Attribute BandwidthPackageType: The type of bandwidth.
attrBusinessStatus com.aliyun.ros.cdk.core.IResolvable Attribute BusinessStatus: The business status of the EIP instance.
attrCreateTime com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: The time when the EIP was created.
attrDeletionProtection com.aliyun.ros.cdk.core.IResolvable Attribute DeletionProtection: Whether the delete protection function is turned on.
attrDescription com.aliyun.ros.cdk.core.IResolvable Attribute Description: The description of the EIP instance.
attrEipBandwidth com.aliyun.ros.cdk.core.IResolvable Attribute EipBandwidth: AN EIP is added to an Internet shared bandwidth before or exit purchase an Internet shared bandwidth instance after the bandwidth Mbps Set for the bandwidth.
attrExpiredTime com.aliyun.ros.cdk.core.IResolvable Attribute ExpiredTime: Expiration time, format' YYYY-MM-DDThh:mm:ssZ '.
attrHasReservationData com.aliyun.ros.cdk.core.IResolvable Attribute HasReservationData: Whether there is renewal data.
attrHdMonitorStatus com.aliyun.ros.cdk.core.IResolvable Attribute HdMonitorStatus: Whether the second-level monitoring is enabled for the EIP.
attrInstanceId com.aliyun.ros.cdk.core.IResolvable Attribute InstanceId: The ID of the current bound instance.
attrInstanceRegionId com.aliyun.ros.cdk.core.IResolvable Attribute InstanceRegionId: The region ID of the currently bound resource.
attrInstanceType com.aliyun.ros.cdk.core.IResolvable Attribute InstanceType: The type of the current bound instance.
attrIpAddress com.aliyun.ros.cdk.core.IResolvable Attribute IpAddress: The IP address of the EIP.
attrIsp com.aliyun.ros.cdk.core.IResolvable Attribute Isp: Service providers.
attrNetmode com.aliyun.ros.cdk.core.IResolvable Attribute Netmode: Network type.
attrOperationLocks com.aliyun.ros.cdk.core.IResolvable Attribute OperationLocks: Lock details.
attrPaymentType com.aliyun.ros.cdk.core.IResolvable Attribute PaymentType: The billing method of the EIP.
attrPublicIpAddressPoolId com.aliyun.ros.cdk.core.IResolvable Attribute PublicIpAddressPoolId: The ID of the IP address pool to which the EIP belongs.
attrReservationActiveTime com.aliyun.ros.cdk.core.IResolvable Attribute ReservationActiveTime: The effective time of the renewal fee, in the format of 'YYYY-MM-DDThh:mm:ssZ'.
attrReservationBandwidth com.aliyun.ros.cdk.core.IResolvable Attribute ReservationBandwidth: Renewal bandwidth, in Mbps.
attrReservationInternetChargeType com.aliyun.ros.cdk.core.IResolvable Attribute ReservationInternetChargeType: Renewal Payment type.
attrReservationOrderType com.aliyun.ros.cdk.core.IResolvable Attribute ReservationOrderType: Renewal order type.
attrResourceGroupId com.aliyun.ros.cdk.core.IResolvable Attribute ResourceGroupId: The ID of the resource group.
attrSecondLimited com.aliyun.ros.cdk.core.IResolvable Attribute SecondLimited: Whether a secondary speed limit is configured.
attrSecurityProtectionTypes com.aliyun.ros.cdk.core.IResolvable Attribute SecurityProtectionTypes: Security protection level.
attrSegmentInstanceId com.aliyun.ros.cdk.core.IResolvable Attribute SegmentInstanceId: The ID of the consecutive EIPs.
attrServiceManaged com.aliyun.ros.cdk.core.IResolvable Attribute ServiceManaged: Indicates the resource created for the service account.
attrTags com.aliyun.ros.cdk.core.IResolvable Attribute Tags: The tag of the resource.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node associated with this construct.


refRequired

public java.lang.String getRef();
  • Type: java.lang.String

stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


resourceOptional

public RosResource getResource();
  • Type: com.aliyun.ros.cdk.core.RosResource

attrAddressNameRequired

public IResolvable getAttrAddressName();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute AddressName: The name of the EIP.


attrAllocationIdRequired

public IResolvable getAttrAllocationId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute AllocationId: The ID of the EIP instance.


attrBandwidthRequired

public IResolvable getAttrBandwidth();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Bandwidth: The peak bandwidth of the EIP.

Unit: Mbps.


attrBandwidthPackageBandwidthRequired

public IResolvable getAttrBandwidthPackageBandwidth();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute BandwidthPackageBandwidth: The bandwidth value of the Internet shared bandwidth added to the EIP.

The unit is Mbps.


attrBandwidthPackageIdRequired

public IResolvable getAttrBandwidthPackageId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute BandwidthPackageId: The ID of the added shared bandwidth.


attrBandwidthPackageTypeRequired

public IResolvable getAttrBandwidthPackageType();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute BandwidthPackageType: The type of bandwidth.

Only CommonBandwidthPackage (shared bandwidth) is supported.


attrBusinessStatusRequired

public IResolvable getAttrBusinessStatus();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute BusinessStatus: The business status of the EIP instance.


attrCreateTimeRequired

public IResolvable getAttrCreateTime();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute CreateTime: The time when the EIP was created.


attrDeletionProtectionRequired

public IResolvable getAttrDeletionProtection();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute DeletionProtection: Whether the delete protection function is turned on.


attrDescriptionRequired

public IResolvable getAttrDescription();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Description: The description of the EIP instance.


attrEipBandwidthRequired

public IResolvable getAttrEipBandwidth();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute EipBandwidth: AN EIP is added to an Internet shared bandwidth before or exit purchase an Internet shared bandwidth instance after the bandwidth Mbps Set for the bandwidth.


attrExpiredTimeRequired

public IResolvable getAttrExpiredTime();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ExpiredTime: Expiration time, format' YYYY-MM-DDThh:mm:ssZ '.


attrHasReservationDataRequired

public IResolvable getAttrHasReservationData();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute HasReservationData: Whether there is renewal data.


attrHdMonitorStatusRequired

public IResolvable getAttrHdMonitorStatus();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute HdMonitorStatus: Whether the second-level monitoring is enabled for the EIP.


attrInstanceIdRequired

public IResolvable getAttrInstanceId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceId: The ID of the current bound instance.


attrInstanceRegionIdRequired

public IResolvable getAttrInstanceRegionId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceRegionId: The region ID of the currently bound resource.


attrInstanceTypeRequired

public IResolvable getAttrInstanceType();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceType: The type of the current bound instance.


attrIpAddressRequired

public IResolvable getAttrIpAddress();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute IpAddress: The IP address of the EIP.


attrIspRequired

public IResolvable getAttrIsp();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Isp: Service providers.


attrNetmodeRequired

public IResolvable getAttrNetmode();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Netmode: Network type.


attrOperationLocksRequired

public IResolvable getAttrOperationLocks();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute OperationLocks: Lock details.


attrPaymentTypeRequired

public IResolvable getAttrPaymentType();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute PaymentType: The billing method of the EIP.


attrPublicIpAddressPoolIdRequired

public IResolvable getAttrPublicIpAddressPoolId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute PublicIpAddressPoolId: The ID of the IP address pool to which the EIP belongs.


attrReservationActiveTimeRequired

public IResolvable getAttrReservationActiveTime();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ReservationActiveTime: The effective time of the renewal fee, in the format of 'YYYY-MM-DDThh:mm:ssZ'.


attrReservationBandwidthRequired

public IResolvable getAttrReservationBandwidth();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ReservationBandwidth: Renewal bandwidth, in Mbps.


attrReservationInternetChargeTypeRequired

public IResolvable getAttrReservationInternetChargeType();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ReservationInternetChargeType: Renewal Payment type.


attrReservationOrderTypeRequired

public IResolvable getAttrReservationOrderType();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ReservationOrderType: Renewal order type.


attrResourceGroupIdRequired

public IResolvable getAttrResourceGroupId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ResourceGroupId: The ID of the resource group.


attrSecondLimitedRequired

public IResolvable getAttrSecondLimited();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute SecondLimited: Whether a secondary speed limit is configured.


attrSecurityProtectionTypesRequired

public IResolvable getAttrSecurityProtectionTypes();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute SecurityProtectionTypes: Security protection level.


attrSegmentInstanceIdRequired

public IResolvable getAttrSegmentInstanceId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute SegmentInstanceId: The ID of the consecutive EIPs.


attrServiceManagedRequired

public IResolvable getAttrServiceManaged();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute ServiceManaged: Indicates the resource created for the service account.


attrTagsRequired

public IResolvable getAttrTags();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Tags: The tag of the resource.