Class SuiteDefinitionConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.iotdeviceadvisor.model.SuiteDefinitionConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SuiteDefinitionConfiguration.Builder,SuiteDefinitionConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class SuiteDefinitionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SuiteDefinitionConfiguration.Builder,SuiteDefinitionConfiguration>
Gets the suite definition configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSuiteDefinitionConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SuiteDefinitionConfiguration.Builderbuilder()StringdevicePermissionRoleArn()Gets the device permission ARN.List<DeviceUnderTest>devices()Gets the devices configured.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasDevices()For responses, this returns true if the service returned a value for the Devices property.inthashCode()BooleanintendedForQualification()Gets the tests intended for qualification in a suite.BooleanisLongDurationTest()Verifies if the test suite is a long duration test.Protocolprotocol()Sets the MQTT protocol that is configured in the suite definition.StringprotocolAsString()Sets the MQTT protocol that is configured in the suite definition.StringrootGroup()Gets the test suite root group.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SuiteDefinitionConfiguration.Builder>serializableBuilderClass()StringsuiteDefinitionName()Gets the suite definition name.SuiteDefinitionConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
suiteDefinitionName
public final String suiteDefinitionName()
Gets the suite definition name. This is a required parameter.
- Returns:
- Gets the suite definition name. This is a required parameter.
-
hasDevices
public final boolean hasDevices()
For responses, this returns true if the service returned a value for the Devices property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
devices
public final List<DeviceUnderTest> devices()
Gets the devices configured.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasDevices()method.- Returns:
- Gets the devices configured.
-
intendedForQualification
public final Boolean intendedForQualification()
Gets the tests intended for qualification in a suite.
- Returns:
- Gets the tests intended for qualification in a suite.
-
isLongDurationTest
public final Boolean isLongDurationTest()
Verifies if the test suite is a long duration test.
- Returns:
- Verifies if the test suite is a long duration test.
-
rootGroup
public final String rootGroup()
Gets the test suite root group. This is a required parameter. For updating or creating the latest qualification suite, if
intendedForQualificationis set to true,rootGroupcan be an empty string. IfintendedForQualificationis false,rootGroupcannot be an empty string. IfrootGroupis empty, andintendedForQualificationis set to true, all the qualification tests are included, and the configuration is default.For a qualification suite, the minimum length is 0, and the maximum is 2048. For a non-qualification suite, the minimum length is 1, and the maximum is 2048.
- Returns:
- Gets the test suite root group. This is a required parameter. For updating or creating the latest
qualification suite, if
intendedForQualificationis set to true,rootGroupcan be an empty string. IfintendedForQualificationis false,rootGroupcannot be an empty string. IfrootGroupis empty, andintendedForQualificationis set to true, all the qualification tests are included, and the configuration is default.For a qualification suite, the minimum length is 0, and the maximum is 2048. For a non-qualification suite, the minimum length is 1, and the maximum is 2048.
-
devicePermissionRoleArn
public final String devicePermissionRoleArn()
Gets the device permission ARN. This is a required parameter.
- Returns:
- Gets the device permission ARN. This is a required parameter.
-
protocol
public final Protocol protocol()
Sets the MQTT protocol that is configured in the suite definition.
If the service returns an enum value that is not available in the current SDK version,
protocolwill returnProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- Sets the MQTT protocol that is configured in the suite definition.
- See Also:
Protocol
-
protocolAsString
public final String protocolAsString()
Sets the MQTT protocol that is configured in the suite definition.
If the service returns an enum value that is not available in the current SDK version,
protocolwill returnProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- Sets the MQTT protocol that is configured in the suite definition.
- See Also:
Protocol
-
toBuilder
public SuiteDefinitionConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SuiteDefinitionConfiguration.Builder,SuiteDefinitionConfiguration>
-
builder
public static SuiteDefinitionConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends SuiteDefinitionConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-