Class CfnDefaultViewAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.resourceexplorer2.CfnDefaultViewAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDefaultViewAssociationProps>
- Enclosing interface:
CfnDefaultViewAssociationProps
@Stability(Stable)
public static final class CfnDefaultViewAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDefaultViewAssociationProps>
A builder for
CfnDefaultViewAssociationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDefaultViewAssociationProps.getViewArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
viewArn
Sets the value ofCfnDefaultViewAssociationProps.getViewArn()
- Parameters:
viewArn
- The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation. This parameter is required. The specified view must already exist in the specified Region.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDefaultViewAssociationProps>
- Returns:
- a new instance of
CfnDefaultViewAssociationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-