Interface SidewalkDevice.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SidewalkDevice.Builder,SidewalkDevice>, SdkBuilder<SidewalkDevice.Builder,SidewalkDevice>, SdkPojo
Enclosing class:
SidewalkDevice

public static interface SidewalkDevice.Builder extends SdkPojo, CopyableBuilder<SidewalkDevice.Builder,SidewalkDevice>
  • Method Details

    • amazonId

      SidewalkDevice.Builder amazonId(String amazonId)
      Sets the value of the AmazonId property for this object.
      Parameters:
      amazonId - The new value for the AmazonId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sidewalkId

      SidewalkDevice.Builder sidewalkId(String sidewalkId)

      The sidewalk device identification.

      Parameters:
      sidewalkId - The sidewalk device identification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sidewalkManufacturingSn

      SidewalkDevice.Builder sidewalkManufacturingSn(String sidewalkManufacturingSn)

      The Sidewalk manufacturing series number.

      Parameters:
      sidewalkManufacturingSn - The Sidewalk manufacturing series number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceCertificates

      SidewalkDevice.Builder deviceCertificates(Collection<CertificateList> deviceCertificates)

      The sidewalk device certificates for Ed25519 and P256r1.

      Parameters:
      deviceCertificates - The sidewalk device certificates for Ed25519 and P256r1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceCertificates

      SidewalkDevice.Builder deviceCertificates(CertificateList... deviceCertificates)

      The sidewalk device certificates for Ed25519 and P256r1.

      Parameters:
      deviceCertificates - The sidewalk device certificates for Ed25519 and P256r1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceCertificates

      SidewalkDevice.Builder deviceCertificates(Consumer<CertificateList.Builder>... deviceCertificates)

      The sidewalk device certificates for Ed25519 and P256r1.

      This is a convenience method that creates an instance of the CertificateList.Builder avoiding the need to create one manually via CertificateList.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to deviceCertificates(List<CertificateList>).

      Parameters:
      deviceCertificates - a consumer that will call methods on CertificateList.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • privateKeys

      The Sidewalk device private keys that will be used for onboarding the device.

      Parameters:
      privateKeys - The Sidewalk device private keys that will be used for onboarding the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • privateKeys

      SidewalkDevice.Builder privateKeys(CertificateList... privateKeys)

      The Sidewalk device private keys that will be used for onboarding the device.

      Parameters:
      privateKeys - The Sidewalk device private keys that will be used for onboarding the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • privateKeys

      The Sidewalk device private keys that will be used for onboarding the device.

      This is a convenience method that creates an instance of the CertificateList.Builder avoiding the need to create one manually via CertificateList.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to privateKeys(List<CertificateList>).

      Parameters:
      privateKeys - a consumer that will call methods on CertificateList.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deviceProfileId

      SidewalkDevice.Builder deviceProfileId(String deviceProfileId)

      The ID of the Sidewalk device profile.

      Parameters:
      deviceProfileId - The ID of the Sidewalk device profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • certificateId

      SidewalkDevice.Builder certificateId(String certificateId)

      The ID of the Sidewalk device profile.

      Parameters:
      certificateId - The ID of the Sidewalk device profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The Sidewalk device status, such as provisioned or registered.

      Parameters:
      status - The Sidewalk device status, such as provisioned or registered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The Sidewalk device status, such as provisioned or registered.

      Parameters:
      status - The Sidewalk device status, such as provisioned or registered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: