Class ResourceIdentifier

java.lang.Object
software.amazon.awssdk.services.iot.model.ResourceIdentifier
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<ResourceIdentifier.Builder,ResourceIdentifier>

@Generated("software.amazon.awssdk:codegen") public final class ResourceIdentifier extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceIdentifier.Builder,ResourceIdentifier>

Information that identifies the noncompliant resource.

See Also:
  • Method Details

    • deviceCertificateId

      public final String deviceCertificateId()

      The ID of the certificate attached to the resource.

      Returns:
      The ID of the certificate attached to the resource.
    • caCertificateId

      public final String caCertificateId()

      The ID of the CA certificate used to authorize the certificate.

      Returns:
      The ID of the CA certificate used to authorize the certificate.
    • cognitoIdentityPoolId

      public final String cognitoIdentityPoolId()

      The ID of the Amazon Cognito identity pool.

      Returns:
      The ID of the Amazon Cognito identity pool.
    • clientId

      public final String clientId()

      The client ID.

      Returns:
      The client ID.
    • policyVersionIdentifier

      public final PolicyVersionIdentifier policyVersionIdentifier()

      The version of the policy associated with the resource.

      Returns:
      The version of the policy associated with the resource.
    • account

      public final String account()

      The account with which the resource is associated.

      Returns:
      The account with which the resource is associated.
    • iamRoleArn

      public final String iamRoleArn()

      The ARN of the IAM role that has overly permissive actions.

      Returns:
      The ARN of the IAM role that has overly permissive actions.
    • roleAliasArn

      public final String roleAliasArn()

      The ARN of the role alias that has overly permissive actions.

      Returns:
      The ARN of the role alias that has overly permissive actions.
    • issuerCertificateIdentifier

      public final IssuerCertificateIdentifier issuerCertificateIdentifier()

      The issuer certificate identifier.

      Returns:
      The issuer certificate identifier.
    • deviceCertificateArn

      public final String deviceCertificateArn()

      The ARN of the identified device certificate.

      Returns:
      The ARN of the identified device certificate.
    • toBuilder

      public ResourceIdentifier.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<ResourceIdentifier.Builder,ResourceIdentifier>
      Returns:
      a builder for type T
    • builder

      public static ResourceIdentifier.Builder builder()
    • serializableBuilderClass

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

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

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

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.