Interface ConsolidatedPolicyV1.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConsolidatedPolicyV1.Builder,
,ConsolidatedPolicyV1> SdkBuilder<ConsolidatedPolicyV1.Builder,
,ConsolidatedPolicyV1> SdkPojo
- Enclosing class:
ConsolidatedPolicyV1
@Mutable
@NotThreadSafe
public static interface ConsolidatedPolicyV1.Builder
extends SdkPojo, CopyableBuilder<ConsolidatedPolicyV1.Builder,ConsolidatedPolicyV1>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ConsolidatedPolicyV1.Builder
aggregation
(Consumer<ConsolidatedPolicyAggregation.Builder> aggregation) The aggregation setting for the consolidated policy.aggregation
(ConsolidatedPolicyAggregation aggregation) The aggregation setting for the consolidated policy.default ConsolidatedPolicyV1.Builder
Custom policycustom
(ConsolidatedPolicyCustom custom) Custom policydefault ConsolidatedPolicyV1.Builder
The list of consolidated policies.list
(ConsolidatedPolicyList list) The list of consolidated policies.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
-
list
The list of consolidated policies.
- Parameters:
list
- The list of consolidated policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
list
The list of consolidated policies.
This is a convenience method that creates an instance of theConsolidatedPolicyList.Builder
avoiding the need to create one manually viaConsolidatedPolicyList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolist(ConsolidatedPolicyList)
.- Parameters:
list
- a consumer that will call methods onConsolidatedPolicyList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregation
The aggregation setting for the consolidated policy.
- Parameters:
aggregation
- The aggregation setting for the consolidated policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregation
default ConsolidatedPolicyV1.Builder aggregation(Consumer<ConsolidatedPolicyAggregation.Builder> aggregation) The aggregation setting for the consolidated policy.
This is a convenience method that creates an instance of theConsolidatedPolicyAggregation.Builder
avoiding the need to create one manually viaConsolidatedPolicyAggregation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaggregation(ConsolidatedPolicyAggregation)
.- Parameters:
aggregation
- a consumer that will call methods onConsolidatedPolicyAggregation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
custom
Custom policy
- Parameters:
custom
- Custom policy- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custom
Custom policy
This is a convenience method that creates an instance of theConsolidatedPolicyCustom.Builder
avoiding the need to create one manually viaConsolidatedPolicyCustom.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustom(ConsolidatedPolicyCustom)
.- Parameters:
custom
- a consumer that will call methods onConsolidatedPolicyCustom.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-