Class GetDatasetResponse

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<GetDatasetResponse.Builder,GetDatasetResponse>

@Generated("software.amazon.awssdk:codegen") public final class GetDatasetResponse extends CloudWatchResponse implements ToCopyableBuilder<GetDatasetResponse.Builder,GetDatasetResponse>
  • Method Details

    • datasetId

      public final String datasetId()

      Returns the identifier of the dataset.

      Returns:
      Returns the identifier of the dataset.
    • arn

      public final String arn()

      Returns the Amazon Resource Name (ARN) of the dataset, in the format arn:aws:cloudwatch:Region:account-id:dataset/dataset-id .

      Returns:
      Returns the Amazon Resource Name (ARN) of the dataset, in the format arn:aws:cloudwatch:Region:account-id:dataset/dataset-id .
    • kmsKeyArn

      public final String kmsKeyArn()

      Returns the Amazon Resource Name (ARN) of the customer managed Amazon Web Services KMS key that is currently associated with the dataset, if any. If the dataset is not associated with a customer managed KMS key, this field is not included in the response and the dataset is encrypted at rest using an Amazon Web Services owned key.

      Returns:
      Returns the Amazon Resource Name (ARN) of the customer managed Amazon Web Services KMS key that is currently associated with the dataset, if any. If the dataset is not associated with a customer managed KMS key, this field is not included in the response and the dataset is encrypted at rest using an Amazon Web Services owned key.
    • toBuilder

      public GetDatasetResponse.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<GetDatasetResponse.Builder,GetDatasetResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

      public static GetDatasetResponse.Builder builder()
    • serializableBuilderClass

      public static Class<? extends GetDatasetResponse.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsResponse
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkResponse
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo