public class CreateInitiator
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CreateInitiator.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
CreateInitiator() |
CreateInitiator(java.lang.String name,
Optional<java.lang.String> alias,
Optional<java.lang.Long> volumeAccessGroupID,
Optional<Attributes> attributes,
Optional<java.lang.Boolean> requireChap,
Optional<java.lang.String> chapUsername,
Optional<CHAPSecret> initiatorSecret,
Optional<CHAPSecret> targetSecret) |
CreateInitiator(java.lang.String name,
Optional<java.lang.String> alias,
Optional<java.lang.Long> volumeAccessGroupID,
Optional<Attributes> attributes,
Optional<java.lang.Boolean> requireChap,
Optional<java.lang.String> chapUsername,
Optional<CHAPSecret> initiatorSecret,
Optional<CHAPSecret> targetSecret,
Optional<java.lang.Long[]> virtualNetworkIDs) |
Modifier and Type | Method and Description |
---|---|
CreateInitiator.Builder |
asBuilder() |
static CreateInitiator.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.String> |
getAlias()
The friendly name to assign to this initiator.
|
Optional<Attributes> |
getAttributes()
A set of JSON attributes assigned to this initiator.
|
Optional<java.lang.String> |
getChapUsername()
The CHAP username for this initiator.
|
Optional<CHAPSecret> |
getInitiatorSecret()
The CHAP secret used for authentication of the initiator.
|
java.lang.String |
getName()
The name of the initiator (IQN or WWPN) to create.
|
Optional<java.lang.Boolean> |
getRequireChap()
"requireChap" determines if the initiator is required to use CHAP during session login.
|
Optional<CHAPSecret> |
getTargetSecret()
The CHAP secret used for authentication of the target.
|
Optional<java.lang.Long[]> |
getVirtualNetworkIDs()
The list of virtual network identifiers associated with this initiator.
|
Optional<java.lang.Long> |
getVolumeAccessGroupID()
The ID of the volume access group to which this newly created initiator will be added.
|
int |
hashCode() |
void |
setAlias(Optional<java.lang.String> alias) |
void |
setAttributes(Optional<Attributes> attributes) |
void |
setChapUsername(Optional<java.lang.String> chapUsername) |
void |
setInitiatorSecret(Optional<CHAPSecret> initiatorSecret) |
void |
setName(java.lang.String name) |
void |
setRequireChap(Optional<java.lang.Boolean> requireChap) |
void |
setTargetSecret(Optional<CHAPSecret> targetSecret) |
void |
setVirtualNetworkIDs(Optional<java.lang.Long[]> virtualNetworkIDs) |
void |
setVolumeAccessGroupID(Optional<java.lang.Long> volumeAccessGroupID) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public CreateInitiator(java.lang.String name, Optional<java.lang.String> alias, Optional<java.lang.Long> volumeAccessGroupID, Optional<Attributes> attributes, Optional<java.lang.Boolean> requireChap, Optional<java.lang.String> chapUsername, Optional<CHAPSecret> initiatorSecret, Optional<CHAPSecret> targetSecret)
@Since(value="12.0") public CreateInitiator(java.lang.String name, Optional<java.lang.String> alias, Optional<java.lang.Long> volumeAccessGroupID, Optional<Attributes> attributes, Optional<java.lang.Boolean> requireChap, Optional<java.lang.String> chapUsername, Optional<CHAPSecret> initiatorSecret, Optional<CHAPSecret> targetSecret, Optional<java.lang.Long[]> virtualNetworkIDs)
public java.lang.String getName()
public void setName(java.lang.String name)
public Optional<java.lang.String> getAlias()
public void setAlias(Optional<java.lang.String> alias)
public Optional<java.lang.Long> getVolumeAccessGroupID()
public void setVolumeAccessGroupID(Optional<java.lang.Long> volumeAccessGroupID)
public Optional<Attributes> getAttributes()
public void setAttributes(Optional<Attributes> attributes)
public Optional<java.lang.Boolean> getRequireChap()
public void setRequireChap(Optional<java.lang.Boolean> requireChap)
public Optional<java.lang.String> getChapUsername()
public void setChapUsername(Optional<java.lang.String> chapUsername)
public Optional<CHAPSecret> getInitiatorSecret()
public void setInitiatorSecret(Optional<CHAPSecret> initiatorSecret)
public Optional<CHAPSecret> getTargetSecret()
public void setTargetSecret(Optional<CHAPSecret> targetSecret)
public Optional<java.lang.Long[]> getVirtualNetworkIDs()
public void setVirtualNetworkIDs(Optional<java.lang.Long[]> virtualNetworkIDs)
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 CreateInitiator.Builder builder()
public final CreateInitiator.Builder asBuilder()