Class OrganizationReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.organizations.OrganizationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OrganizationReference>
- Enclosing interface:
OrganizationReference
@Stability(Stable)
public static final class OrganizationReference.Builder
extends Object
implements software.amazon.jsii.Builder<OrganizationReference>
A builder for
OrganizationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.organizationArn(String organizationArn) Sets the value ofOrganizationReference.getOrganizationArn()organizationId(String organizationId) Sets the value ofOrganizationReference.getOrganizationId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
organizationArn
Sets the value ofOrganizationReference.getOrganizationArn()- Parameters:
organizationArn- The ARN of the Organization resource. This parameter is required.- Returns:
this
-
organizationId
Sets the value ofOrganizationReference.getOrganizationId()- Parameters:
organizationId- The Id of the Organization resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OrganizationReference>- Returns:
- a new instance of
OrganizationReference - Throws:
NullPointerException- if any required attribute was not provided
-