public class ModifyAccountRequest
extends Object
implements 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(Long accountID,
Optional<String> username,
Optional<String> status,
Optional<CHAPSecret> initiatorSecret,
Optional<CHAPSecret> targetSecret,
Optional<Attributes> attributes) |
| Modifier and Type | Method and Description |
|---|---|
ModifyAccountRequest.Builder |
asBuilder() |
static ModifyAccountRequest.Builder |
builder() |
boolean |
equals(Object o) |
Long |
getAccountID()
Specifies the AccountID for the account to be modified.
|
Optional<Attributes> |
getAttributes()
List of name-value pairs in JSON object format.
|
Optional<CHAPSecret> |
getInitiatorSecret()
Specifies the CHAP secret to use for the initiator.
|
Optional<String> |
getStatus()
Sets the status for the account.
|
Optional<CHAPSecret> |
getTargetSecret()
Specifies the CHAP secret to use for the target (mutual CHAP
authentication).
|
Optional<String> |
getUsername()
Specifies the username associated with the
account.
|
int |
hashCode() |
void |
setAccountID(Long accountID) |
void |
setAttributes(Optional<Attributes> attributes) |
void |
setInitiatorSecret(Optional<CHAPSecret> initiatorSecret) |
void |
setStatus(Optional<String> status) |
void |
setTargetSecret(Optional<CHAPSecret> targetSecret) |
void |
setUsername(Optional<String> username) |
Map<String,Object> |
toMap() |
String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public ModifyAccountRequest(Long accountID, Optional<String> username, Optional<String> status, Optional<CHAPSecret> initiatorSecret, Optional<CHAPSecret> targetSecret, Optional<Attributes> attributes)
public Long getAccountID()
public void setAccountID(Long accountID)
public Optional<String> getUsername()
public void setUsername(Optional<String> username)
public Optional<String> getStatus()
public void setStatus(Optional<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 boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Map<String,Object> toMap()
public String toString()
toString in class Objectpublic static ModifyAccountRequest.Builder builder()
public final ModifyAccountRequest.Builder asBuilder()
Copyright © 2014-2016 NetApp, Inc. All Rights Reserved.