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
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnMaster.Builder
.
-
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
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
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
-