Class CfnMasterProps.Builder

java.lang.Object
software.amazon.awscdk.services.guardduty.CfnMasterProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMasterProps>
Enclosing interface:
CfnMasterProps

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

    • Builder

      public Builder()
  • Method Details

    • detectorId

      @Stability(Stable) public CfnMasterProps.Builder detectorId(String detectorId)
      Parameters:
      detectorId - The unique ID of the detector of the GuardDuty member account. This parameter is required.
      Returns:
      this
    • masterId

      @Stability(Stable) public CfnMasterProps.Builder masterId(String masterId)
      Parameters:
      masterId - The AWS account ID of the account designated as the GuardDuty administrator account. This parameter is required.
      Returns:
      this
    • invitationId

      @Stability(Stable) public CfnMasterProps.Builder invitationId(String invitationId)
      Parameters:
      invitationId - The ID of the invitation that is sent to the account designated as a member account. You can find the invitation ID by using the ListInvitation action of the GuardDuty API.
      Returns:
      this
    • build

      @Stability(Stable) public CfnMasterProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnMasterProps>
      Returns:
      a new instance of CfnMasterProps
      Throws:
      NullPointerException - if any required attribute was not provided