Interface UpdateCustomMetricResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<UpdateCustomMetricResponse.Builder,UpdateCustomMetricResponse>, IotResponse.Builder, SdkBuilder<UpdateCustomMetricResponse.Builder,UpdateCustomMetricResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
UpdateCustomMetricResponse

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

    • metricName

      The name of the custom metric.

      Parameters:
      metricName - The name of the custom metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricArn

      The Amazon Resource Number (ARN) of the custom metric.

      Parameters:
      metricArn - The Amazon Resource Number (ARN) of the custom metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricType

      The type of the custom metric.

      The type number only takes a single metric value as an input, but while submitting the metrics value in the DeviceMetrics report, it must be passed as an array with a single value.

      Parameters:
      metricType - The type of the custom metric.

      The type number only takes a single metric value as an input, but while submitting the metrics value in the DeviceMetrics report, it must be passed as an array with a single value.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • metricType

      The type of the custom metric.

      The type number only takes a single metric value as an input, but while submitting the metrics value in the DeviceMetrics report, it must be passed as an array with a single value.

      Parameters:
      metricType - The type of the custom metric.

      The type number only takes a single metric value as an input, but while submitting the metrics value in the DeviceMetrics report, it must be passed as an array with a single value.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • displayName

      UpdateCustomMetricResponse.Builder displayName(String displayName)

      A friendly name in the console for the custom metric

      Parameters:
      displayName - A friendly name in the console for the custom metric
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDate

      UpdateCustomMetricResponse.Builder creationDate(Instant creationDate)

      The creation date of the custom metric in milliseconds since epoch.

      Parameters:
      creationDate - The creation date of the custom metric in milliseconds since epoch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedDate

      UpdateCustomMetricResponse.Builder lastModifiedDate(Instant lastModifiedDate)

      The time the custom metric was last modified in milliseconds since epoch.

      Parameters:
      lastModifiedDate - The time the custom metric was last modified in milliseconds since epoch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.