Class TraceMetadata.Builder
java.lang.Object
software.amazon.smithy.codegen.core.trace.TraceMetadata.Builder
- All Implemented Interfaces:
- SmithyBuilder<TraceMetadata>
- Enclosing class:
- TraceMetadata
public static final class TraceMetadata.Builder
extends Object
implements SmithyBuilder<TraceMetadata>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Creates an immutable object that is created from the properties that have been set on the builder.Sets this builder's homepage.Sets the timestamp as the current time in RFC 3339 format.typeVersion(String typeVersion) Sets this builder's typeVersion.
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
buildDescription copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Specified by:
- buildin interface- SmithyBuilder<TraceMetadata>
- Returns:
- The TraceMetadata object corresponding to this builder.
 
- 
id
- 
version
- 
timestamp
- 
type
- 
setTimestampAsNowSets the timestamp as the current time in RFC 3339 format.- Returns:
- This builder.
 
- 
typeVersionSets this builder's typeVersion.- Parameters:
- typeVersion- typeVersion of TraceMetadata.
- Returns:
- This builder.
 
- 
homepageSets this builder's homepage.- Parameters:
- homepage- homepage of TraceMetadata.
- Returns:
- This builder.
 
 
-