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.Builderaggregation(Consumer<ConsolidatedPolicyAggregation.Builder> aggregation) The aggregation setting for the consolidated policy.aggregation(ConsolidatedPolicyAggregation aggregation) The aggregation setting for the consolidated policy.default ConsolidatedPolicyV1.BuilderCustom policycustom(ConsolidatedPolicyCustom custom) Custom policydefault ConsolidatedPolicyV1.BuilderThe list of consolidated policies.list(ConsolidatedPolicyList list) The list of consolidated policies.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaConsolidatedPolicyList.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaConsolidatedPolicyAggregation.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaConsolidatedPolicyCustom.builder().When the
Consumercompletes,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:
-