public CreateAccessKeyResult withAccessKey(AccessKey accessKey) {
        setAccessKey(accessKey);
        return this;
    }
<p>
A structure with details about the access key.
</p>

@param accessKey
       A structure with details about the access key.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/CreateAccessKeyResult.java