Example usage for com.amazonaws.services.identitymanagement.model AccessKeyMetadata getUserName

List of usage examples for com.amazonaws.services.identitymanagement.model AccessKeyMetadata getUserName

Introduction

In this page you can find the example usage for com.amazonaws.services.identitymanagement.model AccessKeyMetadata getUserName.

Prototype


public String getUserName() 

Source Link

Document

The name of the IAM user that the key is associated with.

Usage

From source file:org.zalando.stups.fullstop.jobs.AccessKeyMetadataConsumer.java

License:Apache License

@Override
public void accept(final AccessKeyMetadata input) {
    violationStore/* w  w w .  j a  va2  s .  c o  m*/
            .save(new ViolationBuilder(format(VIOLATION_MESSAGE, input.getUserName(), input.getAccessKeyId()))
                    .build());
}