Class BulkDeploymentMetrics
- java.lang.Object
-
- software.amazon.awssdk.services.greengrass.model.BulkDeploymentMetrics
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BulkDeploymentMetrics.Builder,BulkDeploymentMetrics>
@Generated("software.amazon.awssdk:codegen") public final class BulkDeploymentMetrics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BulkDeploymentMetrics.Builder,BulkDeploymentMetrics>
Relevant metrics on input records processed during bulk deployment.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBulkDeploymentMetrics.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BulkDeploymentMetrics.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerinvalidInputRecords()The total number of records that returned a non-retryable error.IntegerrecordsProcessed()The total number of group records from the input file that have been processed so far, or attempted.IntegerretryAttempts()The total number of deployment attempts that returned a retryable error.List<SdkField<?>>sdkFields()static Class<? extends BulkDeploymentMetrics.Builder>serializableBuilderClass()BulkDeploymentMetrics.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
-
invalidInputRecords
public final Integer invalidInputRecords()
The total number of records that returned a non-retryable error. For example, this can occur if a group record from the input file uses an invalid format or specifies a nonexistent group version, or if the execution role doesn't grant permission to deploy a group or group version.- Returns:
- The total number of records that returned a non-retryable error. For example, this can occur if a group record from the input file uses an invalid format or specifies a nonexistent group version, or if the execution role doesn't grant permission to deploy a group or group version.
-
recordsProcessed
public final Integer recordsProcessed()
The total number of group records from the input file that have been processed so far, or attempted.- Returns:
- The total number of group records from the input file that have been processed so far, or attempted.
-
retryAttempts
public final Integer retryAttempts()
The total number of deployment attempts that returned a retryable error. For example, a retry is triggered if the attempt to deploy a group returns a throttling error. ''StartBulkDeployment'' retries a group deployment up to five times.- Returns:
- The total number of deployment attempts that returned a retryable error. For example, a retry is triggered if the attempt to deploy a group returns a throttling error. ''StartBulkDeployment'' retries a group deployment up to five times.
-
toBuilder
public BulkDeploymentMetrics.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BulkDeploymentMetrics.Builder,BulkDeploymentMetrics>
-
builder
public static BulkDeploymentMetrics.Builder builder()
-
serializableBuilderClass
public static Class<? extends BulkDeploymentMetrics.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.
-
-