All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupIngress Maven / Gradle / Ivy

There is a newer version: 1.204.0
Show newest version
package software.amazon.awscdk.services.redshift;

/**
 * A CloudFormation `AWS::Redshift::ClusterSecurityGroupIngress`.
 * 

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html */ @javax.annotation.Generated(value = "jsii-pacmak/1.6.0 (build 248e75b)", date = "2020-06-04T14:11:11.428Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.redshift.$Module.class, fqn = "@aws-cdk/aws-redshift.CfnClusterSecurityGroupIngress") public class CfnClusterSecurityGroupIngress extends software.amazon.awscdk.core.CfnResource implements software.amazon.awscdk.core.IInspectable { protected CfnClusterSecurityGroupIngress(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected CfnClusterSecurityGroupIngress(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } static { CFN_RESOURCE_TYPE_NAME = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupIngress.class, "CFN_RESOURCE_TYPE_NAME", java.lang.String.class); } /** * Create a new `AWS::Redshift::ClusterSecurityGroupIngress`. *

* @param scope - scope in which this resource is defined. This parameter is required. * @param id - scoped id of the resource. This parameter is required. * @param props - resource properties. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public CfnClusterSecurityGroupIngress(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupIngressProps props) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required") }); } /** * A factory method that creates a new instance of this class from an object containing the CloudFormation properties of this resource. *

* Used in the @aws-cdk/cloudformation-include module. *

* EXPERIMENTAL *

* @param scope This parameter is required. * @param id This parameter is required. * @param resourceAttributes This parameter is required. * @param options This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupIngress fromCloudFormation(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull java.lang.Object resourceAttributes, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.FromCloudFormationOptions options) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupIngress.class, "fromCloudFormation", software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupIngress.class, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), resourceAttributes, java.util.Objects.requireNonNull(options, "options is required") }); } /** * Examines the CloudFormation resource and discloses attributes. *

* EXPERIMENTAL *

* @param inspector - tree inspector to collect and process attributes. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void inspect(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.TreeInspector inspector) { this.jsiiCall("inspect", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(inspector, "inspector is required") }); } /** * @param props This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override protected @org.jetbrains.annotations.NotNull java.util.Map renderProperties(final @org.jetbrains.annotations.NotNull java.util.Map props) { return java.util.Collections.unmodifiableMap(this.jsiiCall("renderProperties", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)), new Object[] { java.util.Objects.requireNonNull(props, "props is required") })); } /** * The CloudFormation resource type name for this resource class. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final static java.lang.String CFN_RESOURCE_TYPE_NAME; /** */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) protected @org.jetbrains.annotations.NotNull java.util.Map getCfnProperties() { return java.util.Collections.unmodifiableMap(this.jsiiGet("cfnProperties", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); } /** * `AWS::Redshift::ClusterSecurityGroupIngress.ClusterSecurityGroupName`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-clustersecuritygroupname */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getClusterSecurityGroupName() { return this.jsiiGet("clusterSecurityGroupName", java.lang.String.class); } /** * `AWS::Redshift::ClusterSecurityGroupIngress.ClusterSecurityGroupName`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-clustersecuritygroupname */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setClusterSecurityGroupName(final @org.jetbrains.annotations.NotNull java.lang.String value) { this.jsiiSet("clusterSecurityGroupName", java.util.Objects.requireNonNull(value, "clusterSecurityGroupName is required")); } /** * `AWS::Redshift::ClusterSecurityGroupIngress.CIDRIP`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-cidrip */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.String getCidrip() { return this.jsiiGet("cidrip", java.lang.String.class); } /** * `AWS::Redshift::ClusterSecurityGroupIngress.CIDRIP`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-cidrip */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setCidrip(final @org.jetbrains.annotations.Nullable java.lang.String value) { this.jsiiSet("cidrip", value); } /** * `AWS::Redshift::ClusterSecurityGroupIngress.EC2SecurityGroupName`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-ec2securitygroupname */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.String getEc2SecurityGroupName() { return this.jsiiGet("ec2SecurityGroupName", java.lang.String.class); } /** * `AWS::Redshift::ClusterSecurityGroupIngress.EC2SecurityGroupName`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-ec2securitygroupname */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setEc2SecurityGroupName(final @org.jetbrains.annotations.Nullable java.lang.String value) { this.jsiiSet("ec2SecurityGroupName", value); } /** * `AWS::Redshift::ClusterSecurityGroupIngress.EC2SecurityGroupOwnerId`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-ec2securitygroupownerid */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.String getEc2SecurityGroupOwnerId() { return this.jsiiGet("ec2SecurityGroupOwnerId", java.lang.String.class); } /** * `AWS::Redshift::ClusterSecurityGroupIngress.EC2SecurityGroupOwnerId`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-ec2securitygroupownerid */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setEc2SecurityGroupOwnerId(final @org.jetbrains.annotations.Nullable java.lang.String value) { this.jsiiSet("ec2SecurityGroupOwnerId", value); } /** * A fluent builder for {@link software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupIngress}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static final class Builder implements software.amazon.jsii.Builder { /** * @return a new instance of {@link Builder}. * @param scope - scope in which this resource is defined. This parameter is required. * @param id - scoped id of the resource. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static Builder create(final software.amazon.awscdk.core.Construct scope, final java.lang.String id) { return new Builder(scope, id); } private final software.amazon.awscdk.core.Construct scope; private final java.lang.String id; private final software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupIngressProps.Builder props; private Builder(final software.amazon.awscdk.core.Construct scope, final java.lang.String id) { this.scope = scope; this.id = id; this.props = new software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupIngressProps.Builder(); } /** * `AWS::Redshift::ClusterSecurityGroupIngress.ClusterSecurityGroupName`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-clustersecuritygroupname * @param clusterSecurityGroupName `AWS::Redshift::ClusterSecurityGroupIngress.ClusterSecurityGroupName`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder clusterSecurityGroupName(final java.lang.String clusterSecurityGroupName) { this.props.clusterSecurityGroupName(clusterSecurityGroupName); return this; } /** * `AWS::Redshift::ClusterSecurityGroupIngress.CIDRIP`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-cidrip * @param cidrip `AWS::Redshift::ClusterSecurityGroupIngress.CIDRIP`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder cidrip(final java.lang.String cidrip) { this.props.cidrip(cidrip); return this; } /** * `AWS::Redshift::ClusterSecurityGroupIngress.EC2SecurityGroupName`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-ec2securitygroupname * @param ec2SecurityGroupName `AWS::Redshift::ClusterSecurityGroupIngress.EC2SecurityGroupName`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder ec2SecurityGroupName(final java.lang.String ec2SecurityGroupName) { this.props.ec2SecurityGroupName(ec2SecurityGroupName); return this; } /** * `AWS::Redshift::ClusterSecurityGroupIngress.EC2SecurityGroupOwnerId`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clustersecuritygroupingress.html#cfn-redshift-clustersecuritygroupingress-ec2securitygroupownerid * @param ec2SecurityGroupOwnerId `AWS::Redshift::ClusterSecurityGroupIngress.EC2SecurityGroupOwnerId`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder ec2SecurityGroupOwnerId(final java.lang.String ec2SecurityGroupOwnerId) { this.props.ec2SecurityGroupOwnerId(ec2SecurityGroupOwnerId); return this; } /** * @returns a newly built instance of {@link software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupIngress}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupIngress build() { return new software.amazon.awscdk.services.redshift.CfnClusterSecurityGroupIngress( this.scope, this.id, this.props.build() ); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy