Interface DeclarativePoliciesReport.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeclarativePoliciesReport.Builder,
,DeclarativePoliciesReport> SdkBuilder<DeclarativePoliciesReport.Builder,
,DeclarativePoliciesReport> SdkPojo
- Enclosing class:
DeclarativePoliciesReport
-
Method Summary
Modifier and TypeMethodDescriptionThe time when the report generation ended.The ID of the report.The name of the Amazon S3 bucket where the report is located.The prefix for your S3 object.The time when the report generation started.The current status of the report.status
(ReportState status) The current status of the report.tags
(Collection<Tag> tags) Any tags assigned to the report.tags
(Consumer<Tag.Builder>... tags) Any tags assigned to the report.Any tags assigned to the report.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 Details
-
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
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
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
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
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
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
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:
-
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:
-
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
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
Any tags assigned to the report.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-