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