Class TraceMetadata.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • build

        public TraceMetadata build()
        Description copied from interface: SmithyBuilder
        Creates an immutable object that is created from the properties that have been set on the builder.
        Specified by:
        build in interface SmithyBuilder<TraceMetadata>
        Returns:
        The TraceMetadata object corresponding to this builder.
      • setTimestampAsNow

        public TraceMetadata.Builder setTimestampAsNow()
        Sets the timestamp as the current time in RFC 3339 format.
        Returns:
        This builder.
      • typeVersion

        public TraceMetadata.Builder typeVersion​(java.lang.String typeVersion)
        Sets this builder's typeVersion.
        Parameters:
        typeVersion - typeVersion of TraceMetadata.
        Returns:
        This builder.
      • homepage

        public TraceMetadata.Builder homepage​(java.lang.String homepage)
        Sets this builder's homepage.
        Parameters:
        homepage - homepage of TraceMetadata.
        Returns:
        This builder.