Class CfnFunction.AuthResourcePolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnFunction.AuthResourcePolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.AuthResourcePolicyProperty>
- Enclosing interface:
CfnFunction.AuthResourcePolicyProperty
@Stability(Stable)
public static final class CfnFunction.AuthResourcePolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.AuthResourcePolicyProperty>
A builder for
CfnFunction.AuthResourcePolicyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountBlacklist(List<String> awsAccountBlacklist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getAwsAccountBlacklist()awsAccountWhitelist(List<String> awsAccountWhitelist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getAwsAccountWhitelist()build()Builds the configured instance.customStatements(List<? extends Object> customStatements) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getCustomStatements()customStatements(IResolvable customStatements) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getCustomStatements()intrinsicVpcBlacklist(List<String> intrinsicVpcBlacklist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getIntrinsicVpcBlacklist()intrinsicVpceBlacklist(List<String> intrinsicVpceBlacklist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getIntrinsicVpceBlacklist()intrinsicVpceWhitelist(List<String> intrinsicVpceWhitelist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getIntrinsicVpceWhitelist()intrinsicVpcWhitelist(List<String> intrinsicVpcWhitelist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getIntrinsicVpcWhitelist()ipRangeBlacklist(List<String> ipRangeBlacklist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getIpRangeBlacklist()ipRangeWhitelist(List<String> ipRangeWhitelist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getIpRangeWhitelist()sourceVpcBlacklist(List<String> sourceVpcBlacklist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getSourceVpcBlacklist()sourceVpcWhitelist(List<String> sourceVpcWhitelist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getSourceVpcWhitelist()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountBlacklist
@Stability(Stable) public CfnFunction.AuthResourcePolicyProperty.Builder awsAccountBlacklist(List<String> awsAccountBlacklist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getAwsAccountBlacklist()- Parameters:
awsAccountBlacklist- the value to be set.- Returns:
this
-
awsAccountWhitelist
@Stability(Stable) public CfnFunction.AuthResourcePolicyProperty.Builder awsAccountWhitelist(List<String> awsAccountWhitelist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getAwsAccountWhitelist()- Parameters:
awsAccountWhitelist- the value to be set.- Returns:
this
-
customStatements
@Stability(Stable) public CfnFunction.AuthResourcePolicyProperty.Builder customStatements(List<? extends Object> customStatements) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getCustomStatements()- Parameters:
customStatements- the value to be set.- Returns:
this
-
customStatements
@Stability(Stable) public CfnFunction.AuthResourcePolicyProperty.Builder customStatements(IResolvable customStatements) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getCustomStatements()- Parameters:
customStatements- the value to be set.- Returns:
this
-
intrinsicVpcBlacklist
@Stability(Stable) public CfnFunction.AuthResourcePolicyProperty.Builder intrinsicVpcBlacklist(List<String> intrinsicVpcBlacklist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getIntrinsicVpcBlacklist()- Parameters:
intrinsicVpcBlacklist- the value to be set.- Returns:
this
-
intrinsicVpceBlacklist
@Stability(Stable) public CfnFunction.AuthResourcePolicyProperty.Builder intrinsicVpceBlacklist(List<String> intrinsicVpceBlacklist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getIntrinsicVpceBlacklist()- Parameters:
intrinsicVpceBlacklist- the value to be set.- Returns:
this
-
intrinsicVpceWhitelist
@Stability(Stable) public CfnFunction.AuthResourcePolicyProperty.Builder intrinsicVpceWhitelist(List<String> intrinsicVpceWhitelist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getIntrinsicVpceWhitelist()- Parameters:
intrinsicVpceWhitelist- the value to be set.- Returns:
this
-
intrinsicVpcWhitelist
@Stability(Stable) public CfnFunction.AuthResourcePolicyProperty.Builder intrinsicVpcWhitelist(List<String> intrinsicVpcWhitelist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getIntrinsicVpcWhitelist()- Parameters:
intrinsicVpcWhitelist- the value to be set.- Returns:
this
-
ipRangeBlacklist
@Stability(Stable) public CfnFunction.AuthResourcePolicyProperty.Builder ipRangeBlacklist(List<String> ipRangeBlacklist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getIpRangeBlacklist()- Parameters:
ipRangeBlacklist- the value to be set.- Returns:
this
-
ipRangeWhitelist
@Stability(Stable) public CfnFunction.AuthResourcePolicyProperty.Builder ipRangeWhitelist(List<String> ipRangeWhitelist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getIpRangeWhitelist()- Parameters:
ipRangeWhitelist- the value to be set.- Returns:
this
-
sourceVpcBlacklist
@Stability(Stable) public CfnFunction.AuthResourcePolicyProperty.Builder sourceVpcBlacklist(List<String> sourceVpcBlacklist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getSourceVpcBlacklist()- Parameters:
sourceVpcBlacklist- the value to be set.- Returns:
this
-
sourceVpcWhitelist
@Stability(Stable) public CfnFunction.AuthResourcePolicyProperty.Builder sourceVpcWhitelist(List<String> sourceVpcWhitelist) Sets the value ofCfnFunction.AuthResourcePolicyProperty.getSourceVpcWhitelist()- Parameters:
sourceVpcWhitelist- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunction.AuthResourcePolicyProperty>- Returns:
- a new instance of
CfnFunction.AuthResourcePolicyProperty - Throws:
NullPointerException- if any required attribute was not provided
-