Interface DeclarativePoliciesReport.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeclarativePoliciesReport.Builder,DeclarativePoliciesReport>,SdkBuilder<DeclarativePoliciesReport.Builder,DeclarativePoliciesReport>,SdkPojo
- Enclosing class:
- DeclarativePoliciesReport
public static interface DeclarativePoliciesReport.Builder extends SdkPojo, CopyableBuilder<DeclarativePoliciesReport.Builder,DeclarativePoliciesReport>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeclarativePoliciesReport.BuilderendTime(Instant endTime)The time when the report generation ended.DeclarativePoliciesReport.BuilderreportId(String reportId)The ID of the report.DeclarativePoliciesReport.Builders3Bucket(String s3Bucket)The name of the Amazon S3 bucket where the report is located.DeclarativePoliciesReport.Builders3Prefix(String s3Prefix)The prefix for your S3 object.DeclarativePoliciesReport.BuilderstartTime(Instant startTime)The time when the report generation started.DeclarativePoliciesReport.Builderstatus(String status)The current status of the report.DeclarativePoliciesReport.Builderstatus(ReportState status)The current status of the report.DeclarativePoliciesReport.Buildertags(Collection<Tag> tags)Any tags assigned to the report.DeclarativePoliciesReport.Buildertags(Consumer<Tag.Builder>... tags)Any tags assigned to the report.DeclarativePoliciesReport.Buildertags(Tag... tags)Any tags assigned to the report.DeclarativePoliciesReport.BuildertargetId(String targetId)The root ID, organizational unit ID, or account ID.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
reportId
DeclarativePoliciesReport.Builder reportId(String reportId)
The ID of the report.
- Parameters:
reportId- The ID of the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Bucket
DeclarativePoliciesReport.Builder s3Bucket(String s3Bucket)
The name of the Amazon S3 bucket where the report is located.
- Parameters:
s3Bucket- The name of the Amazon S3 bucket where the report is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Prefix
DeclarativePoliciesReport.Builder s3Prefix(String s3Prefix)
The prefix for your S3 object.
- Parameters:
s3Prefix- The prefix for your S3 object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetId
DeclarativePoliciesReport.Builder targetId(String targetId)
The root ID, organizational unit ID, or account ID.
Format:
-
For root:
r-ab12 -
For OU:
ou-ab12-cdef1234 -
For account:
123456789012
- Parameters:
targetId- The root ID, organizational unit ID, or account ID.Format:
-
For root:
r-ab12 -
For OU:
ou-ab12-cdef1234 -
For account:
123456789012
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
startTime
DeclarativePoliciesReport.Builder startTime(Instant startTime)
The time when the report generation started.
- Parameters:
startTime- The time when the report generation started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
DeclarativePoliciesReport.Builder endTime(Instant endTime)
The time when the report generation ended.
- Parameters:
endTime- The time when the report generation ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DeclarativePoliciesReport.Builder status(String status)
The current status of the report.
- Parameters:
status- The current status of the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReportState,ReportState
-
status
DeclarativePoliciesReport.Builder status(ReportState status)
The current status of the report.
- Parameters:
status- The current status of the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReportState,ReportState
-
tags
DeclarativePoliciesReport.Builder tags(Collection<Tag> tags)
Any tags assigned to the report.
- Parameters:
tags- Any tags assigned to the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
DeclarativePoliciesReport.Builder tags(Tag... tags)
Any tags assigned to the report.
- Parameters:
tags- Any tags assigned to the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
DeclarativePoliciesReport.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the report.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-