Class ReportGroupReference.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.ReportGroupReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ReportGroupReference>
- Enclosing interface:
ReportGroupReference
@Stability(Stable)
public static final class ReportGroupReference.Builder
extends Object
implements software.amazon.jsii.Builder<ReportGroupReference>
A builder for
ReportGroupReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.reportGroupArn
(String reportGroupArn) Sets the value ofReportGroupReference.getReportGroupArn()
reportGroupId
(String reportGroupId) Sets the value ofReportGroupReference.getReportGroupId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
reportGroupArn
Sets the value ofReportGroupReference.getReportGroupArn()
- Parameters:
reportGroupArn
- The ARN of the ReportGroup resource. This parameter is required.- Returns:
this
-
reportGroupId
Sets the value ofReportGroupReference.getReportGroupId()
- Parameters:
reportGroupId
- The Id of the ReportGroup resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ReportGroupReference>
- Returns:
- a new instance of
ReportGroupReference
- Throws:
NullPointerException
- if any required attribute was not provided
-