Class ProfileFile.Aggregator

  • All Implemented Interfaces:
    software.amazon.awssdk.utils.builder.Buildable, software.amazon.awssdk.utils.builder.SdkBuilder<ProfileFile.Aggregator,​ProfileFile>
    Enclosing class:
    ProfileFile

    public static final class ProfileFile.Aggregator
    extends Object
    implements software.amazon.awssdk.utils.builder.SdkBuilder<ProfileFile.Aggregator,​ProfileFile>
    A mechanism for merging multiple ProfileFiles together into a single file. This will merge their profiles and properties together.
    • Constructor Detail

      • Aggregator

        public Aggregator()
    • 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:
        build in interface software.amazon.awssdk.utils.builder.Buildable
        Specified by:
        build in interface software.amazon.awssdk.utils.builder.SdkBuilder<ProfileFile.Aggregator,​ProfileFile>