Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class CreateUserProfileRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.opsworks.model.CreateUserProfileRequest
All Implemented Interfaces:
Serializable

public class CreateUserProfileRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the CreateUserProfile operation.

Creates a new user profile.

See Also:
AWSOpsWorks.createUserProfile(CreateUserProfileRequest), Serialized Form

Constructor Summary
CreateUserProfileRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getIamUserArn()
          The user's IAM ARN.
 String getSshPublicKey()
          The user's public SSH key.
 String getSshUsername()
          The user's SSH user name.
 int hashCode()
           
 void setIamUserArn(String iamUserArn)
          The user's IAM ARN.
 void setSshPublicKey(String sshPublicKey)
          The user's public SSH key.
 void setSshUsername(String sshUsername)
          The user's SSH user name.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateUserProfileRequest withIamUserArn(String iamUserArn)
          The user's IAM ARN.
 CreateUserProfileRequest withSshPublicKey(String sshPublicKey)
          The user's public SSH key.
 CreateUserProfileRequest withSshUsername(String sshUsername)
          The user's SSH user name.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateUserProfileRequest

public CreateUserProfileRequest()
Method Detail

getIamUserArn

public String getIamUserArn()
The user's IAM ARN.

Returns:
The user's IAM ARN.

setIamUserArn

public void setIamUserArn(String iamUserArn)
The user's IAM ARN.

Parameters:
iamUserArn - The user's IAM ARN.

withIamUserArn

public CreateUserProfileRequest withIamUserArn(String iamUserArn)
The user's IAM ARN.

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

Parameters:
iamUserArn - The user's IAM ARN.
Returns:
A reference to this updated object so that method calls can be chained together.

getSshUsername

public String getSshUsername()
The user's SSH user name.

Returns:
The user's SSH user name.

setSshUsername

public void setSshUsername(String sshUsername)
The user's SSH user name.

Parameters:
sshUsername - The user's SSH user name.

withSshUsername

public CreateUserProfileRequest withSshUsername(String sshUsername)
The user's SSH user name.

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

Parameters:
sshUsername - The user's SSH user name.
Returns:
A reference to this updated object so that method calls can be chained together.

getSshPublicKey

public String getSshPublicKey()
The user's public SSH key.

Returns:
The user's public SSH key.

setSshPublicKey

public void setSshPublicKey(String sshPublicKey)
The user's public SSH key.

Parameters:
sshPublicKey - The user's public SSH key.

withSshPublicKey

public CreateUserProfileRequest withSshPublicKey(String sshPublicKey)
The user's public SSH key.

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

Parameters:
sshPublicKey - The user's public SSH key.
Returns:
A reference to this updated 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

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.