Class CfnDefaultViewAssociation.Builder

java.lang.Object
software.amazon.awscdk.services.resourceexplorer2.CfnDefaultViewAssociation.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDefaultViewAssociation>
Enclosing class:
CfnDefaultViewAssociation

@Stability(Stable) public static final class CfnDefaultViewAssociation.Builder extends Object implements software.amazon.jsii.Builder<CfnDefaultViewAssociation>
A fluent builder for CfnDefaultViewAssociation.
  • Method Details

    • create

      @Stability(Stable) public static CfnDefaultViewAssociation.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnDefaultViewAssociation.Builder.
    • viewArn

      @Stability(Stable) public CfnDefaultViewAssociation.Builder viewArn(String viewArn)
      The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation.

      The specified view must already exist in the specified Region.

      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.
      Returns:
      this
    • build

      @Stability(Stable) public CfnDefaultViewAssociation build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDefaultViewAssociation>
      Returns:
      a newly built instance of CfnDefaultViewAssociation.