Interface PrevalidationSignalsBody.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PrevalidationSignalsBody.Builder,,PrevalidationSignalsBody> SdkBuilder<PrevalidationSignalsBody.Builder,,PrevalidationSignalsBody> SdkPojo
- Enclosing class:
PrevalidationSignalsBody
@Mutable
@NotThreadSafe
public static interface PrevalidationSignalsBody.Builder
extends SdkPojo, CopyableBuilder<PrevalidationSignalsBody.Builder,PrevalidationSignalsBody>
-
Method Summary
Modifier and TypeMethodDescriptionproducedBy(String producedBy) The agent that produced this signal set.signals(Collection<PrevalidationSignal> signals) The signals backing the Issue's proposed severity.signals(Consumer<PrevalidationSignal.Builder>... signals) The signals backing the Issue's proposed severity.signals(PrevalidationSignal... signals) The signals backing the Issue's proposed severity.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
-
producedBy
The agent that produced this signal set.
- Parameters:
producedBy- The agent that produced this signal set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signals
The signals backing the Issue's proposed severity.
- Parameters:
signals- The signals backing the Issue's proposed severity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signals
The signals backing the Issue's proposed severity.
- Parameters:
signals- The signals backing the Issue's proposed severity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signals
The signals backing the Issue's proposed severity.
This is a convenience method that creates an instance of thePrevalidationSignal.Builderavoiding the need to create one manually viaPrevalidationSignal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosignals(List<PrevalidationSignal>).- Parameters:
signals- a consumer that will call methods onPrevalidationSignal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-