Class CfnMasterMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.guardduty.mixins.CfnMasterMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMasterMixinProps>
- Enclosing interface:
CfnMasterMixinProps
@Stability(Stable)
public static final class CfnMasterMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMasterMixinProps>
A builder for
CfnMasterMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.detectorId(String detectorId) Sets the value ofCfnMasterMixinProps.getDetectorId()invitationId(String invitationId) Sets the value ofCfnMasterMixinProps.getInvitationId()Sets the value ofCfnMasterMixinProps.getMasterId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
detectorId
Sets the value ofCfnMasterMixinProps.getDetectorId()- Parameters:
detectorId- The unique ID of the detector of the GuardDuty member account. To find thedetectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Returns:
this
-
invitationId
Sets the value ofCfnMasterMixinProps.getInvitationId()- 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 running the ListInvitations in the GuardDuty API Reference .- Returns:
this
-
masterId
Sets the value ofCfnMasterMixinProps.getMasterId()- Parameters:
masterId- The AWS account ID of the account designated as the GuardDuty administrator account.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMasterMixinProps>- Returns:
- a new instance of
CfnMasterMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-