Class CfnMaster.Builder

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

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

    • create

      @Stability(Stable) public static CfnMaster.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 CfnMaster.Builder.
    • detectorId

      @Stability(Stable) public CfnMaster.Builder detectorId(String detectorId)
      The unique ID of the detector of the GuardDuty member account.

      Parameters:
      detectorId - The unique ID of the detector of the GuardDuty member account. This parameter is required.
      Returns:
      this
    • masterId

      @Stability(Stable) public CfnMaster.Builder masterId(String masterId)
      The AWS account ID of the account designated as the GuardDuty administrator account.

      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 CfnMaster.Builder invitationId(String 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.

      Parameters:
      invitationId - The ID of the invitation that is sent to the account designated as a member account. This parameter is required.
      Returns:
      this
    • build

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