Class GetResourceMetadataRequest

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

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

    • serviceType

      public final ServiceType serviceType()

      The Amazon Web Services service for which Performance Insights returns metrics.

      If the service returns an enum value that is not available in the current SDK version, serviceType will return ServiceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from serviceTypeAsString().

      Returns:
      The Amazon Web Services service for which Performance Insights returns metrics.
      See Also:
    • serviceTypeAsString

      public final String serviceTypeAsString()

      The Amazon Web Services service for which Performance Insights returns metrics.

      If the service returns an enum value that is not available in the current SDK version, serviceType will return ServiceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from serviceTypeAsString().

      Returns:
      The Amazon Web Services service for which Performance Insights returns metrics.
      See Also:
    • identifier

      public final String identifier()

      An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.

      Returns:
      An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<GetResourceMetadataRequest.Builder,GetResourceMetadataRequest>
      Specified by:
      toBuilder in class PiRequest
    • builder

      public static GetResourceMetadataRequest.Builder builder()
    • serializableBuilderClass

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

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

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • 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 SdkRequest
    • 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