Interface EvidenceDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvidenceDetails.Builder,,EvidenceDetails> SdkBuilder<EvidenceDetails.Builder,,EvidenceDetails> SdkPojo
- Enclosing class:
EvidenceDetails
@Mutable
@NotThreadSafe
public static interface EvidenceDetails.Builder
extends SdkPojo, CopyableBuilder<EvidenceDetails.Builder,EvidenceDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EvidenceDetails.BuilderSets the value of the Log property for this object.log(LogEvidenceDetails log) Sets the value of the Log property for this object.default EvidenceDetails.Buildermetric(Consumer<MetricEvidenceDetails.Builder> metric) Sets the value of the Metric property for this object.metric(MetricEvidenceDetails metric) Sets the value of the Metric property for this object.default EvidenceDetails.BuilderSets the value of the Trace property for this object.trace(TraceEvidenceDetails trace) Sets the value of the Trace property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
log
Sets the value of the Log property for this object.- Parameters:
log- The new value for the Log property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
log
Sets the value of the Log property for this object. This is a convenience method that creates an instance of theLogEvidenceDetails.Builderavoiding the need to create one manually viaLogEvidenceDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolog(LogEvidenceDetails).- Parameters:
log- a consumer that will call methods onLogEvidenceDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metric
Sets the value of the Metric property for this object.- Parameters:
metric- The new value for the Metric property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metric
Sets the value of the Metric property for this object. This is a convenience method that creates an instance of theMetricEvidenceDetails.Builderavoiding the need to create one manually viaMetricEvidenceDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometric(MetricEvidenceDetails).- Parameters:
metric- a consumer that will call methods onMetricEvidenceDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trace
Sets the value of the Trace property for this object.- Parameters:
trace- The new value for the Trace property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trace
Sets the value of the Trace property for this object. This is a convenience method that creates an instance of theTraceEvidenceDetails.Builderavoiding the need to create one manually viaTraceEvidenceDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrace(TraceEvidenceDetails).- Parameters:
trace- a consumer that will call methods onTraceEvidenceDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-