Class CfnLoadBalancer.SourceSecurityGroupProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancing.CfnLoadBalancer.SourceSecurityGroupProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLoadBalancer.SourceSecurityGroupProperty>
- Enclosing interface:
CfnLoadBalancer.SourceSecurityGroupProperty
@Stability(Stable)
public static final class CfnLoadBalancer.SourceSecurityGroupProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLoadBalancer.SourceSecurityGroupProperty>
A builder for
CfnLoadBalancer.SourceSecurityGroupProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLoadBalancer.SourceSecurityGroupProperty.getGroupName()ownerAlias(String ownerAlias) Sets the value ofCfnLoadBalancer.SourceSecurityGroupProperty.getOwnerAlias()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupName
@Stability(Stable) public CfnLoadBalancer.SourceSecurityGroupProperty.Builder groupName(String groupName) Sets the value ofCfnLoadBalancer.SourceSecurityGroupProperty.getGroupName()- Parameters:
groupName- the value to be set.- Returns:
this
-
ownerAlias
@Stability(Stable) public CfnLoadBalancer.SourceSecurityGroupProperty.Builder ownerAlias(String ownerAlias) Sets the value ofCfnLoadBalancer.SourceSecurityGroupProperty.getOwnerAlias()- Parameters:
ownerAlias- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLoadBalancer.SourceSecurityGroupProperty>- Returns:
- a new instance of
CfnLoadBalancer.SourceSecurityGroupProperty - Throws:
NullPointerException- if any required attribute was not provided
-