Class GetAccessKeyLastUsedResult

    • Constructor Detail

      • GetAccessKeyLastUsedResult

        public GetAccessKeyLastUsedResult()
    • Method Detail

      • setUserName

        public void setUserName​(String userName)

        The name of the AWS IAM user that owns this access key.

        Parameters:
        userName - The name of the AWS IAM user that owns this access key.

      • getUserName

        public String getUserName()

        The name of the AWS IAM user that owns this access key.

        Returns:
        The name of the AWS IAM user that owns this access key.

      • withUserName

        public GetAccessKeyLastUsedResult withUserName​(String userName)

        The name of the AWS IAM user that owns this access key.

        Parameters:
        userName - The name of the AWS IAM user that owns this access key.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAccessKeyLastUsed

        public void setAccessKeyLastUsed​(AccessKeyLastUsed accessKeyLastUsed)

        Contains information about the last time the access key was used.

        Parameters:
        accessKeyLastUsed - Contains information about the last time the access key was used.
      • getAccessKeyLastUsed

        public AccessKeyLastUsed getAccessKeyLastUsed()

        Contains information about the last time the access key was used.

        Returns:
        Contains information about the last time the access key was used.
      • withAccessKeyLastUsed

        public GetAccessKeyLastUsedResult withAccessKeyLastUsed​(AccessKeyLastUsed accessKeyLastUsed)

        Contains information about the last time the access key was used.

        Parameters:
        accessKeyLastUsed - Contains information about the last time the access key was used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object