public static final class CfnMasterProps.Builder
extends java.lang.Object
CfnMasterProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnMasterProps |
build()
Builds the configured instance.
|
CfnMasterProps.Builder |
detectorId(java.lang.String detectorId)
Sets the value of
CfnMasterProps.getDetectorId() |
CfnMasterProps.Builder |
invitationId(java.lang.String invitationId)
Sets the value of
CfnMasterProps.getInvitationId() |
CfnMasterProps.Builder |
masterId(java.lang.String masterId)
Sets the value of
CfnMasterProps.getMasterId() |
public CfnMasterProps.Builder detectorId(java.lang.String detectorId)
CfnMasterProps.getDetectorId()
detectorId
- The unique ID of the detector of the GuardDuty member account. This parameter is required.this
public CfnMasterProps.Builder masterId(java.lang.String masterId)
CfnMasterProps.getMasterId()
masterId
- The AWS account ID of the account designated as the administrator account. This parameter is required.this
public CfnMasterProps.Builder invitationId(java.lang.String invitationId)
CfnMasterProps.getInvitationId()
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 API.this
public CfnMasterProps build()
CfnMasterProps
java.lang.NullPointerException
- if any required attribute was not provided