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 Summary
Modifier and TypeMethodDescriptionbuild()
static CfnMaster.Builder
detectorId
(String detectorId) The unique ID of the detector of the GuardDuty member account.invitationId
(String invitationId) The ID of the invitation that is sent to the account designated as a member account.The AWS account ID of the account designated as the GuardDuty administrator account.
-
Method Details
-
create
@Stability(Stable) public static CfnMaster.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnMaster.Builder
.
-
detectorId
The unique ID of the detector of the GuardDuty member account.To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Parameters:
detectorId
- The unique ID of the detector of the GuardDuty member account. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
invitationId
The ID of the invitation that is sent to the account designated as a member account.You can find the invitation ID by running the ListInvitations in the GuardDuty API Reference .
- Parameters:
invitationId
- The ID of the invitation that is sent to the account designated as a member account. This parameter is required.- Returns:
this
- See Also:
-
build
-