Class ComparablePrincipal

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iam.ComparablePrincipal
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-22T22:42:52.676Z") @Stability(Stable) public class ComparablePrincipal extends software.amazon.jsii.JsiiObject
Helper class for working with IComparablePrincipals.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.iam.*;
 ComparablePrincipal comparablePrincipal = new ComparablePrincipal();
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    ComparablePrincipal(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    ComparablePrincipal(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    Return the dedupeString of the given principal, if available.
    static Boolean
    Whether or not the given principal is a comparable principal.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • ComparablePrincipal

      protected ComparablePrincipal(software.amazon.jsii.JsiiObjectRef objRef)
    • ComparablePrincipal

      protected ComparablePrincipal(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • ComparablePrincipal

      @Stability(Stable) public ComparablePrincipal()
  • Method Details

    • dedupeStringFor

      @Stability(Stable) @Nullable public static String dedupeStringFor(@NotNull IPrincipal x)
      Return the dedupeString of the given principal, if available.

      Parameters:
      x - This parameter is required.
    • isComparablePrincipal

      @Stability(Stable) @NotNull public static Boolean isComparablePrincipal(@NotNull IPrincipal x)
      Whether or not the given principal is a comparable principal.

      Parameters:
      x - This parameter is required.