Interface GetDeclarativePoliciesReportSummaryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDeclarativePoliciesReportSummaryResponse.Builder,GetDeclarativePoliciesReportSummaryResponse>,Ec2Response.Builder,SdkBuilder<GetDeclarativePoliciesReportSummaryResponse.Builder,GetDeclarativePoliciesReportSummaryResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDeclarativePoliciesReportSummaryResponse
public static interface GetDeclarativePoliciesReportSummaryResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetDeclarativePoliciesReportSummaryResponse.Builder,GetDeclarativePoliciesReportSummaryResponse>
-
-
Method Summary
-
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 Detail
-
reportId
GetDeclarativePoliciesReportSummaryResponse.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
GetDeclarativePoliciesReportSummaryResponse.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
GetDeclarativePoliciesReportSummaryResponse.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
GetDeclarativePoliciesReportSummaryResponse.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
GetDeclarativePoliciesReportSummaryResponse.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
GetDeclarativePoliciesReportSummaryResponse.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.
-
numberOfAccounts
GetDeclarativePoliciesReportSummaryResponse.Builder numberOfAccounts(Integer 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.Builderavoiding the need to create one manually viaAttributeSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attributeSummaries(List.) - 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:
#attributeSummaries(java.util.Collection)
-
-