Class CfnInputSecurityGroup.InputWhitelistRuleCidrProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnInputSecurityGroup.InputWhitelistRuleCidrProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInputSecurityGroup.InputWhitelistRuleCidrProperty>
- Enclosing interface:
CfnInputSecurityGroup.InputWhitelistRuleCidrProperty
@Stability(Stable)
public static final class CfnInputSecurityGroup.InputWhitelistRuleCidrProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInputSecurityGroup.InputWhitelistRuleCidrProperty>
A builder for
CfnInputSecurityGroup.InputWhitelistRuleCidrProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnInputSecurityGroup.InputWhitelistRuleCidrProperty.getCidr()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidr
@Stability(Stable) public CfnInputSecurityGroup.InputWhitelistRuleCidrProperty.Builder cidr(String cidr) Sets the value ofCfnInputSecurityGroup.InputWhitelistRuleCidrProperty.getCidr()
- Parameters:
cidr
- An IPv4 CIDR range to include in this input security group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInputSecurityGroup.InputWhitelistRuleCidrProperty>
- Returns:
- a new instance of
CfnInputSecurityGroup.InputWhitelistRuleCidrProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-