Interface FuotaTaskLogOption.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FuotaTaskLogOption.Builder,,FuotaTaskLogOption> SdkBuilder<FuotaTaskLogOption.Builder,,FuotaTaskLogOption> SdkPojo
- Enclosing class:
FuotaTaskLogOption
public static interface FuotaTaskLogOption.Builder
extends SdkPojo, CopyableBuilder<FuotaTaskLogOption.Builder,FuotaTaskLogOption>
-
Method Summary
Modifier and TypeMethodDescriptionevents(Collection<FuotaTaskEventLogOption> events) Sets the value of the Events property for this object.events(Consumer<FuotaTaskEventLogOption.Builder>... events) Sets the value of the Events property for this object.events(FuotaTaskEventLogOption... events) Sets the value of the Events property for this object.Sets the value of the LogLevel property for this object.Sets the value of the LogLevel property for this object.The FUOTA task type.type(FuotaTaskType type) The FUOTA task type.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
-
type
The FUOTA task type.
- Parameters:
type- The FUOTA task type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The FUOTA task type.
- Parameters:
type- The FUOTA task type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logLevel
Sets the value of the LogLevel property for this object.- Parameters:
logLevel- The new value for the LogLevel property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logLevel
Sets the value of the LogLevel property for this object.- Parameters:
logLevel- The new value for the LogLevel property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
events
Sets the value of the Events property for this object.- Parameters:
events- The new value for the Events property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
Sets the value of the Events property for this object.- Parameters:
events- The new value for the Events property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
Sets the value of the Events property for this object. This is a convenience method that creates an instance of theFuotaTaskEventLogOption.Builderavoiding the need to create one manually viaFuotaTaskEventLogOption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevents(List<FuotaTaskEventLogOption>).- Parameters:
events- a consumer that will call methods onFuotaTaskEventLogOption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-