Class TargetDomainReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.securityagent.TargetDomainReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TargetDomainReference>
- Enclosing interface:
TargetDomainReference
@Stability(Stable)
public static final class TargetDomainReference.Builder
extends Object
implements software.amazon.jsii.Builder<TargetDomainReference>
A builder for
TargetDomainReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.targetDomainId(String targetDomainId) Sets the value ofTargetDomainReference.getTargetDomainId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targetDomainId
Sets the value ofTargetDomainReference.getTargetDomainId()- Parameters:
targetDomainId- The TargetDomainId of the TargetDomain resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TargetDomainReference>- Returns:
- a new instance of
TargetDomainReference - Throws:
NullPointerException- if any required attribute was not provided
-