public class ModifyAccountRequest
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ModifyAccountRequest.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ModifyAccountRequest() |
ModifyAccountRequest(java.lang.Long accountID,
Optional<java.lang.String> username,
Optional<java.lang.String> status,
Optional<CHAPSecret> initiatorSecret,
Optional<CHAPSecret> targetSecret,
Optional<Attributes> attributes) |
ModifyAccountRequest(java.lang.Long accountID,
Optional<java.lang.String> username,
Optional<java.lang.String> status,
Optional<CHAPSecret> initiatorSecret,
Optional<CHAPSecret> targetSecret,
Optional<Attributes> attributes,
Optional<java.lang.Boolean> enableChap) |
Modifier and Type | Method and Description |
---|---|
ModifyAccountRequest.Builder |
asBuilder() |
static ModifyAccountRequest.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAccountID()
Specifies the AccountID for the account to be modified.
|
Optional<Attributes> |
getAttributes()
List of name-value pairs in JSON object format.
|
Optional<java.lang.Boolean> |
getEnableChap()
Specify if chap account credentials can be used by an initiator to access volumes.
|
Optional<CHAPSecret> |
getInitiatorSecret()
The CHAP secret to use for the initiator.
|
Optional<java.lang.String> |
getStatus()
Sets the status for the account.
|
Optional<CHAPSecret> |
getTargetSecret()
The CHAP secret to use for the target (mutual CHAP authentication).
|
Optional<java.lang.String> |
getUsername()
Specifies the username associated with the
account.
|
int |
hashCode() |
void |
setAccountID(java.lang.Long accountID) |
void |
setAttributes(Optional<Attributes> attributes) |
void |
setEnableChap(Optional<java.lang.Boolean> enableChap) |
void |
setInitiatorSecret(Optional<CHAPSecret> initiatorSecret) |
void |
setStatus(Optional<java.lang.String> status) |
void |
setTargetSecret(Optional<CHAPSecret> targetSecret) |
void |
setUsername(Optional<java.lang.String> username) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public ModifyAccountRequest(java.lang.Long accountID, Optional<java.lang.String> username, Optional<java.lang.String> status, Optional<CHAPSecret> initiatorSecret, Optional<CHAPSecret> targetSecret, Optional<Attributes> attributes)
@Since(value="12.0") public ModifyAccountRequest(java.lang.Long accountID, Optional<java.lang.String> username, Optional<java.lang.String> status, Optional<CHAPSecret> initiatorSecret, Optional<CHAPSecret> targetSecret, Optional<Attributes> attributes, Optional<java.lang.Boolean> enableChap)
public java.lang.Long getAccountID()
public void setAccountID(java.lang.Long accountID)
public Optional<java.lang.String> getUsername()
public void setUsername(Optional<java.lang.String> username)
public Optional<java.lang.String> getStatus()
public void setStatus(Optional<java.lang.String> status)
public Optional<CHAPSecret> getInitiatorSecret()
public void setInitiatorSecret(Optional<CHAPSecret> initiatorSecret)
public Optional<CHAPSecret> getTargetSecret()
public void setTargetSecret(Optional<CHAPSecret> targetSecret)
public Optional<Attributes> getAttributes()
public void setAttributes(Optional<Attributes> attributes)
public Optional<java.lang.Boolean> getEnableChap()
public void setEnableChap(Optional<java.lang.Boolean> enableChap)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static ModifyAccountRequest.Builder builder()
public final ModifyAccountRequest.Builder asBuilder()