Interface GetDeclarativePoliciesReportSummaryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDeclarativePoliciesReportSummaryResponse.Builder,
,GetDeclarativePoliciesReportSummaryResponse> Ec2Response.Builder
,SdkBuilder<GetDeclarativePoliciesReportSummaryResponse.Builder,
,GetDeclarativePoliciesReportSummaryResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDeclarativePoliciesReportSummaryResponse
-
Method Summary
Modifier and TypeMethodDescriptionattributeSummaries
(Collection<AttributeSummary> attributeSummaries) The attributes described in the report.attributeSummaries
(Consumer<AttributeSummary.Builder>... attributeSummaries) The attributes described in the report.attributeSummaries
(AttributeSummary... attributeSummaries) The attributes described in the report.The time when the report generation ended.numberOfAccounts
(Integer numberOfAccounts) The total number of accounts associated with the specifiedtargetId
.numberOfFailedAccounts
(Integer numberOfFailedAccounts) The number of accounts where attributes could not be retrieved in any Region.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 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.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
numberOfAccounts
The total number of accounts associated with the specified
targetId
.- Parameters:
numberOfAccounts
- The total number of accounts associated with the specifiedtargetId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfFailedAccounts
GetDeclarativePoliciesReportSummaryResponse.Builder numberOfFailedAccounts(Integer numberOfFailedAccounts) The number of accounts where attributes could not be retrieved in any Region.
- Parameters:
numberOfFailedAccounts
- The number of accounts where attributes could not be retrieved in any Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeSummaries
GetDeclarativePoliciesReportSummaryResponse.Builder attributeSummaries(Collection<AttributeSummary> attributeSummaries) The attributes described in the report.
- Parameters:
attributeSummaries
- The attributes described in the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeSummaries
GetDeclarativePoliciesReportSummaryResponse.Builder attributeSummaries(AttributeSummary... attributeSummaries) The attributes described in the report.
- Parameters:
attributeSummaries
- The attributes described in the report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeSummaries
GetDeclarativePoliciesReportSummaryResponse.Builder attributeSummaries(Consumer<AttributeSummary.Builder>... attributeSummaries) The attributes described in the report.
This is a convenience method that creates an instance of theAttributeSummary.Builder
avoiding the need to create one manually viaAttributeSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeSummaries(List<AttributeSummary>)
.- Parameters:
attributeSummaries
- a consumer that will call methods onAttributeSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-