Class CreateAccessKeyResult

java.lang.Object
com.amazonaws.services.identitymanagement.model.CreateAccessKeyResult
All Implemented Interfaces:
Serializable, Cloneable

public class CreateAccessKeyResult extends Object implements Serializable, Cloneable

Contains the response to a successful CreateAccessKey request.

See Also:
  • Constructor Details

    • CreateAccessKeyResult

      public CreateAccessKeyResult()
  • Method Details

    • setAccessKey

      public void setAccessKey(AccessKey accessKey)

      A structure with details about the access key.

      Parameters:
      accessKey - A structure with details about the access key.
    • getAccessKey

      public AccessKey getAccessKey()

      A structure with details about the access key.

      Returns:
      A structure with details about the access key.
    • withAccessKey

      public CreateAccessKeyResult withAccessKey(AccessKey accessKey)

      A structure with details about the access key.

      Parameters:
      accessKey - A structure with details about the access key.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CreateAccessKeyResult clone()
      Overrides:
      clone in class Object