Interface GetFuotaTaskResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetFuotaTaskResponse.Builder,GetFuotaTaskResponse>,IotWirelessResponse.Builder,SdkBuilder<GetFuotaTaskResponse.Builder,GetFuotaTaskResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetFuotaTaskResponse
public static interface GetFuotaTaskResponse.Builder extends IotWirelessResponse.Builder, SdkPojo, CopyableBuilder<GetFuotaTaskResponse.Builder,GetFuotaTaskResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetFuotaTaskResponse.Builderarn(String arn)Sets the value of the Arn property for this object.GetFuotaTaskResponse.BuildercreatedAt(Instant createdAt)Sets the value of the CreatedAt property for this object.GetFuotaTaskResponse.Builderdescription(String description)Sets the value of the Description property for this object.GetFuotaTaskResponse.Builderdescriptor(String descriptor)Sets the value of the Descriptor property for this object.GetFuotaTaskResponse.BuilderfirmwareUpdateImage(String firmwareUpdateImage)Sets the value of the FirmwareUpdateImage property for this object.GetFuotaTaskResponse.BuilderfirmwareUpdateRole(String firmwareUpdateRole)Sets the value of the FirmwareUpdateRole property for this object.GetFuotaTaskResponse.BuilderfragmentIntervalMS(Integer fragmentIntervalMS)Sets the value of the FragmentIntervalMS property for this object.GetFuotaTaskResponse.BuilderfragmentSizeBytes(Integer fragmentSizeBytes)Sets the value of the FragmentSizeBytes property for this object.GetFuotaTaskResponse.Builderid(String id)Sets the value of the Id property for this object.default GetFuotaTaskResponse.BuilderloRaWAN(Consumer<LoRaWANFuotaTaskGetInfo.Builder> loRaWAN)Sets the value of the LoRaWAN property for this object.GetFuotaTaskResponse.BuilderloRaWAN(LoRaWANFuotaTaskGetInfo loRaWAN)Sets the value of the LoRaWAN property for this object.GetFuotaTaskResponse.Buildername(String name)Sets the value of the Name property for this object.GetFuotaTaskResponse.BuilderredundancyPercent(Integer redundancyPercent)Sets the value of the RedundancyPercent property for this object.GetFuotaTaskResponse.Builderstatus(String status)Sets the value of the Status property for this object.GetFuotaTaskResponse.Builderstatus(FuotaTaskStatus status)Sets the value of the Status property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iotwireless.model.IotWirelessResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
GetFuotaTaskResponse.Builder arn(String arn)
Sets the value of the Arn property for this object.- Parameters:
arn- The new value for the Arn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
GetFuotaTaskResponse.Builder id(String id)
Sets the value of the Id property for this object.- Parameters:
id- The new value for the Id property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetFuotaTaskResponse.Builder status(String status)
Sets the value of the Status property for this object.- Parameters:
status- The new value for the Status property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FuotaTaskStatus,FuotaTaskStatus
-
status
GetFuotaTaskResponse.Builder status(FuotaTaskStatus status)
Sets the value of the Status property for this object.- Parameters:
status- The new value for the Status property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FuotaTaskStatus,FuotaTaskStatus
-
name
GetFuotaTaskResponse.Builder name(String name)
Sets the value of the Name property for this object.- Parameters:
name- The new value for the Name property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GetFuotaTaskResponse.Builder description(String description)
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loRaWAN
GetFuotaTaskResponse.Builder loRaWAN(LoRaWANFuotaTaskGetInfo loRaWAN)
Sets the value of the LoRaWAN property for this object.- Parameters:
loRaWAN- The new value for the LoRaWAN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loRaWAN
default GetFuotaTaskResponse.Builder loRaWAN(Consumer<LoRaWANFuotaTaskGetInfo.Builder> loRaWAN)
Sets the value of the LoRaWAN property for this object. This is a convenience method that creates an instance of theLoRaWANFuotaTaskGetInfo.Builderavoiding the need to create one manually viaLoRaWANFuotaTaskGetInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toloRaWAN(LoRaWANFuotaTaskGetInfo).- Parameters:
loRaWAN- a consumer that will call methods onLoRaWANFuotaTaskGetInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
loRaWAN(LoRaWANFuotaTaskGetInfo)
-
firmwareUpdateImage
GetFuotaTaskResponse.Builder firmwareUpdateImage(String firmwareUpdateImage)
Sets the value of the FirmwareUpdateImage property for this object.- Parameters:
firmwareUpdateImage- The new value for the FirmwareUpdateImage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firmwareUpdateRole
GetFuotaTaskResponse.Builder firmwareUpdateRole(String firmwareUpdateRole)
Sets the value of the FirmwareUpdateRole property for this object.- Parameters:
firmwareUpdateRole- The new value for the FirmwareUpdateRole property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
GetFuotaTaskResponse.Builder createdAt(Instant createdAt)
Sets the value of the CreatedAt property for this object.- Parameters:
createdAt- The new value for the CreatedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redundancyPercent
GetFuotaTaskResponse.Builder redundancyPercent(Integer redundancyPercent)
Sets the value of the RedundancyPercent property for this object.- Parameters:
redundancyPercent- The new value for the RedundancyPercent property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fragmentSizeBytes
GetFuotaTaskResponse.Builder fragmentSizeBytes(Integer fragmentSizeBytes)
Sets the value of the FragmentSizeBytes property for this object.- Parameters:
fragmentSizeBytes- The new value for the FragmentSizeBytes property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fragmentIntervalMS
GetFuotaTaskResponse.Builder fragmentIntervalMS(Integer fragmentIntervalMS)
Sets the value of the FragmentIntervalMS property for this object.- Parameters:
fragmentIntervalMS- The new value for the FragmentIntervalMS property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
descriptor
GetFuotaTaskResponse.Builder descriptor(String descriptor)
Sets the value of the Descriptor property for this object.- Parameters:
descriptor- The new value for the Descriptor property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-