Class CreatedByInfo

    • Method Detail

      • awsIdentityArn

        public final String awsIdentityArn()

        STS or IAM ARN representing the identity of API Caller. SDK users cannot populate this and this value is calculated automatically if ConnectUserArn is not provided.

        Returns:
        STS or IAM ARN representing the identity of API Caller. SDK users cannot populate this and this value is calculated automatically if ConnectUserArn is not provided.
      • hashCode

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

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

        public static CreatedByInfo fromConnectUserArn​(String connectUserArn)
        Create an instance of this class with connectUserArn() initialized to the given value.

        An agent ARN representing a connect user.

        Parameters:
        connectUserArn - An agent ARN representing a connect user.
      • fromAwsIdentityArn

        public static CreatedByInfo fromAwsIdentityArn​(String awsIdentityArn)
        Create an instance of this class with awsIdentityArn() initialized to the given value.

        STS or IAM ARN representing the identity of API Caller. SDK users cannot populate this and this value is calculated automatically if ConnectUserArn is not provided.

        Parameters:
        awsIdentityArn - STS or IAM ARN representing the identity of API Caller. SDK users cannot populate this and this value is calculated automatically if ConnectUserArn is not provided.