Class SessionReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.macie.SessionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SessionReference>
- Enclosing interface:
SessionReference
@Stability(Stable)
public static final class SessionReference.Builder
extends Object
implements software.amazon.jsii.Builder<SessionReference>
A builder for
SessionReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) Sets the value ofSessionReference.getAwsAccountId()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofSessionReference.getAwsAccountId()- Parameters:
awsAccountId- The AwsAccountId of the Session resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SessionReference>- Returns:
- a new instance of
SessionReference - Throws:
NullPointerException- if any required attribute was not provided
-