Class CfnResourceSetPropsMixin.TargetResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53recoveryreadiness.CfnResourceSetPropsMixin.TargetResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceSetPropsMixin.TargetResourceProperty>
- Enclosing interface:
CfnResourceSetPropsMixin.TargetResourceProperty
@Stability(Stable)
public static final class CfnResourceSetPropsMixin.TargetResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceSetPropsMixin.TargetResourceProperty>
A builder for
CfnResourceSetPropsMixin.TargetResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.nlbResource(CfnResourceSetPropsMixin.NLBResourceProperty nlbResource) Sets the value ofCfnResourceSetPropsMixin.TargetResourceProperty.getNlbResource()nlbResource(IResolvable nlbResource) Sets the value ofCfnResourceSetPropsMixin.TargetResourceProperty.getNlbResource()Sets the value ofCfnResourceSetPropsMixin.TargetResourceProperty.getR53Resource()r53Resource(IResolvable r53Resource) Sets the value ofCfnResourceSetPropsMixin.TargetResourceProperty.getR53Resource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
nlbResource
@Stability(Stable) public CfnResourceSetPropsMixin.TargetResourceProperty.Builder nlbResource(IResolvable nlbResource) Sets the value ofCfnResourceSetPropsMixin.TargetResourceProperty.getNlbResource()- Parameters:
nlbResource- The Network Load Balancer resource that a DNS target resource points to.- Returns:
this
-
nlbResource
@Stability(Stable) public CfnResourceSetPropsMixin.TargetResourceProperty.Builder nlbResource(CfnResourceSetPropsMixin.NLBResourceProperty nlbResource) Sets the value ofCfnResourceSetPropsMixin.TargetResourceProperty.getNlbResource()- Parameters:
nlbResource- The Network Load Balancer resource that a DNS target resource points to.- Returns:
this
-
r53Resource
@Stability(Stable) public CfnResourceSetPropsMixin.TargetResourceProperty.Builder r53Resource(IResolvable r53Resource) Sets the value ofCfnResourceSetPropsMixin.TargetResourceProperty.getR53Resource()- Parameters:
r53Resource- The Route 53 resource that a DNS target resource record points to.- Returns:
this
-
r53Resource
@Stability(Stable) public CfnResourceSetPropsMixin.TargetResourceProperty.Builder r53Resource(CfnResourceSetPropsMixin.R53ResourceRecordProperty r53Resource) Sets the value ofCfnResourceSetPropsMixin.TargetResourceProperty.getR53Resource()- Parameters:
r53Resource- The Route 53 resource that a DNS target resource record points to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceSetPropsMixin.TargetResourceProperty>- Returns:
- a new instance of
CfnResourceSetPropsMixin.TargetResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-