Class ProfileFile.Aggregator
java.lang.Object
software.amazon.awssdk.profiles.ProfileFile.Aggregator
- All Implemented Interfaces:
- Buildable,- SdkBuilder<ProfileFile.Aggregator,- ProfileFile> 
- Enclosing class:
- ProfileFile
public static final class ProfileFile.Aggregator
extends Object
implements SdkBuilder<ProfileFile.Aggregator,ProfileFile> 
A mechanism for merging multiple 
ProfileFiles together into a single file. This will merge their profiles and
 properties together.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddFile(ProfileFile file) Add a file to be aggregated.build()An immutable object that is created from the properties that have been set on the builder.Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation
- 
Constructor Details- 
Aggregatorpublic Aggregator()
 
- 
- 
Method Details- 
addFileAdd a file to be aggregated. In the event that there is a duplicate profile/property pair in the files, files added earliest to this aggregator will take precedence, dropping the duplicated properties in the later files.
- 
buildDescription copied from interface:SdkBuilderAn immutable object that is created from the properties that have been set on the builder.- Specified by:
- buildin interface- Buildable
- Specified by:
- buildin interface- SdkBuilder<ProfileFile.Aggregator,- ProfileFile> 
- Returns:
- an instance of T
 
 
-