software.amazon.awscdk.services.elasticloadbalancingv2.ILoadBalancerV2 Maven / Gradle / Ivy
Show all versions of elasticloadbalancingv2 Show documentation
package software.amazon.awscdk.services.elasticloadbalancingv2;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.15.0 (build 585166b)", date = "2020-12-12T01:56:41.665Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.elasticloadbalancingv2.$Module.class, fqn = "@aws-cdk/aws-elasticloadbalancingv2.ILoadBalancerV2")
@software.amazon.jsii.Jsii.Proxy(ILoadBalancerV2.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface ILoadBalancerV2 extends software.amazon.jsii.JsiiSerializable, software.amazon.awscdk.core.IResource {
/**
* The canonical hosted zone ID of this load balancer.
*
* Example:
*
*
{@code
* // Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
* Z2P70J7EXAMPLE;}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@org.jetbrains.annotations.NotNull java.lang.String getLoadBalancerCanonicalHostedZoneId();
/**
* The DNS name of this load balancer.
*
* Example:
*
*
{@code
* // Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
* my - load - balancer - 424835706.;us - west - 2.e;lb.amazonaws.getCom();}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@org.jetbrains.annotations.NotNull java.lang.String getLoadBalancerDnsName();
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements software.amazon.awscdk.services.elasticloadbalancingv2.ILoadBalancerV2.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* The construct tree node for this construct.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.ConstructNode getNode() {
return software.amazon.jsii.Kernel.get(this, "node", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.core.ConstructNode.class));
}
/**
* The environment this resource belongs to.
*
* For resources that are created and managed by the CDK
* (generally, those created by creating new class instances like Role, Bucket, etc.),
* this is always the same as the environment of the stack they belong to;
* however, for imported resources
* (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
* that might be different than the stack they were imported into.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.ResourceEnvironment getEnv() {
return software.amazon.jsii.Kernel.get(this, "env", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.core.ResourceEnvironment.class));
}
/**
* The stack in which this resource is defined.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.Stack getStack() {
return software.amazon.jsii.Kernel.get(this, "stack", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.core.Stack.class));
}
/**
* The canonical hosted zone ID of this load balancer.
*
* Example:
*
*
{@code
* // Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
* Z2P70J7EXAMPLE;}
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final @org.jetbrains.annotations.NotNull java.lang.String getLoadBalancerCanonicalHostedZoneId() {
return software.amazon.jsii.Kernel.get(this, "loadBalancerCanonicalHostedZoneId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* The DNS name of this load balancer.
*
* Example:
*
*
{@code
* // Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
* my - load - balancer - 424835706.;us - west - 2.e;lb.amazonaws.getCom();}
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final @org.jetbrains.annotations.NotNull java.lang.String getLoadBalancerDnsName() {
return software.amazon.jsii.Kernel.get(this, "loadBalancerDnsName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
}
/**
* Internal default implementation for {@link ILoadBalancerV2}.
*/
@software.amazon.jsii.Internal
interface Jsii$Default extends ILoadBalancerV2, software.amazon.awscdk.core.IResource.Jsii$Default {
/**
* The construct tree node for this construct.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.ConstructNode getNode() {
return software.amazon.jsii.Kernel.get(this, "node", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.core.ConstructNode.class));
}
/**
* The environment this resource belongs to.
*
* For resources that are created and managed by the CDK
* (generally, those created by creating new class instances like Role, Bucket, etc.),
* this is always the same as the environment of the stack they belong to;
* however, for imported resources
* (those obtained from static methods like fromRoleArn, fromBucketName, etc.),
* that might be different than the stack they were imported into.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.ResourceEnvironment getEnv() {
return software.amazon.jsii.Kernel.get(this, "env", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.core.ResourceEnvironment.class));
}
/**
* The stack in which this resource is defined.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.Stack getStack() {
return software.amazon.jsii.Kernel.get(this, "stack", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.core.Stack.class));
}
/**
* The canonical hosted zone ID of this load balancer.
*
* Example:
*
*
{@code
* // Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
* Z2P70J7EXAMPLE;}
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.NotNull java.lang.String getLoadBalancerCanonicalHostedZoneId() {
return software.amazon.jsii.Kernel.get(this, "loadBalancerCanonicalHostedZoneId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* The DNS name of this load balancer.
*
* Example:
*
*
{@code
* // Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
* my - load - balancer - 424835706.;us - west - 2.e;lb.amazonaws.getCom();}
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.NotNull java.lang.String getLoadBalancerDnsName() {
return software.amazon.jsii.Kernel.get(this, "loadBalancerDnsName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
}
}