Package software.amazon.awssdk.profiles
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 multipleProfileFiles together into a single file. This will merge their profiles and properties together.
-
-
Constructor Summary
Constructors Constructor Description Aggregator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProfileFile.AggregatoraddFile(ProfileFile file)Add a file to be aggregated.ProfileFilebuild()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
-
-
-
Method Detail
-
addFile
public ProfileFile.Aggregator addFile(ProfileFile file)
Add 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.
-
build
public ProfileFile build()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<ProfileFile.Aggregator,ProfileFile>
-
-