Interface SuiteDefinitionInformation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SuiteDefinitionInformation.Builder,SuiteDefinitionInformation>,SdkBuilder<SuiteDefinitionInformation.Builder,SuiteDefinitionInformation>,SdkPojo
- Enclosing class:
- SuiteDefinitionInformation
public static interface SuiteDefinitionInformation.Builder extends SdkPojo, CopyableBuilder<SuiteDefinitionInformation.Builder,SuiteDefinitionInformation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SuiteDefinitionInformation.BuildercreatedAt(Instant createdAt)Date (in Unix epoch time) when the test suite was created.SuiteDefinitionInformation.BuilderdefaultDevices(Collection<DeviceUnderTest> defaultDevices)Specifies the devices that are under test for the test suite.SuiteDefinitionInformation.BuilderdefaultDevices(Consumer<DeviceUnderTest.Builder>... defaultDevices)Specifies the devices that are under test for the test suite.SuiteDefinitionInformation.BuilderdefaultDevices(DeviceUnderTest... defaultDevices)Specifies the devices that are under test for the test suite.SuiteDefinitionInformation.BuilderintendedForQualification(Boolean intendedForQualification)Specifies if the test suite is intended for qualification.SuiteDefinitionInformation.BuilderisLongDurationTest(Boolean isLongDurationTest)Verifies if the test suite is a long duration test.SuiteDefinitionInformation.Builderprotocol(String protocol)Gets the MQTT protocol that is configured in the suite definition.SuiteDefinitionInformation.Builderprotocol(Protocol protocol)Gets the MQTT protocol that is configured in the suite definition.SuiteDefinitionInformation.BuildersuiteDefinitionId(String suiteDefinitionId)Suite definition ID of the test suite.SuiteDefinitionInformation.BuildersuiteDefinitionName(String suiteDefinitionName)Suite name of the test suite.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
suiteDefinitionId
SuiteDefinitionInformation.Builder suiteDefinitionId(String suiteDefinitionId)
Suite definition ID of the test suite.
- Parameters:
suiteDefinitionId- Suite definition ID of the test suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suiteDefinitionName
SuiteDefinitionInformation.Builder suiteDefinitionName(String suiteDefinitionName)
Suite name of the test suite.
- Parameters:
suiteDefinitionName- Suite name of the test suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultDevices
SuiteDefinitionInformation.Builder defaultDevices(Collection<DeviceUnderTest> defaultDevices)
Specifies the devices that are under test for the test suite.
- Parameters:
defaultDevices- Specifies the devices that are under test for the test suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultDevices
SuiteDefinitionInformation.Builder defaultDevices(DeviceUnderTest... defaultDevices)
Specifies the devices that are under test for the test suite.
- Parameters:
defaultDevices- Specifies the devices that are under test for the test suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultDevices
SuiteDefinitionInformation.Builder defaultDevices(Consumer<DeviceUnderTest.Builder>... defaultDevices)
Specifies the devices that are under test for the test suite.
This is a convenience method that creates an instance of theDeviceUnderTest.Builderavoiding the need to create one manually viaDeviceUnderTest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#defaultDevices(List.) - Parameters:
defaultDevices- a consumer that will call methods onDeviceUnderTest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#defaultDevices(java.util.Collection)
-
intendedForQualification
SuiteDefinitionInformation.Builder intendedForQualification(Boolean intendedForQualification)
Specifies if the test suite is intended for qualification.
- Parameters:
intendedForQualification- Specifies if the test suite is intended for qualification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isLongDurationTest
SuiteDefinitionInformation.Builder isLongDurationTest(Boolean isLongDurationTest)
Verifies if the test suite is a long duration test.
- Parameters:
isLongDurationTest- Verifies if the test suite is a long duration test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
SuiteDefinitionInformation.Builder protocol(String protocol)
Gets the MQTT protocol that is configured in the suite definition.
-
protocol
SuiteDefinitionInformation.Builder protocol(Protocol protocol)
Gets the MQTT protocol that is configured in the suite definition.
-
createdAt
SuiteDefinitionInformation.Builder createdAt(Instant createdAt)
Date (in Unix epoch time) when the test suite was created.
- Parameters:
createdAt- Date (in Unix epoch time) when the test suite was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-