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 Details

    • Aggregator

      public Aggregator()
  • Method Details

    • 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()
      Description copied from interface: SdkBuilder
      An immutable object that is created from the properties that have been set on the builder.
      Specified by:
      build in interface Buildable
      Specified by:
      build in interface SdkBuilder<ProfileFile.Aggregator,ProfileFile>
      Returns:
      an instance of T