public class Initiator
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Initiator.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
Initiator() |
Initiator(java.lang.String alias,
java.lang.Long initiatorID,
java.lang.String initiatorName,
java.lang.Long[] volumeAccessGroups,
Attributes attributes) |
Initiator(java.lang.String alias,
java.lang.Long initiatorID,
java.lang.String initiatorName,
java.lang.Long[] volumeAccessGroups,
Attributes attributes,
java.lang.Boolean requireChap,
Optional<java.lang.String> chapUsername,
Optional<CHAPSecret> initiatorSecret,
Optional<CHAPSecret> targetSecret) |
Initiator(java.lang.String alias,
java.lang.Long initiatorID,
java.lang.String initiatorName,
java.lang.Long[] volumeAccessGroups,
Attributes attributes,
java.lang.Boolean requireChap,
Optional<java.lang.String> chapUsername,
Optional<CHAPSecret> initiatorSecret,
Optional<CHAPSecret> targetSecret,
java.lang.Long[] virtualNetworkIDs) |
Modifier and Type | Method and Description |
---|---|
Initiator.Builder |
asBuilder() |
static Initiator.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlias()
The initiator's friendly name.
|
Attributes |
getAttributes()
A set of JSON attributes assigned to this initiator.
|
Optional<java.lang.String> |
getChapUsername()
The unique CHAP username associated with this initiator.
|
java.lang.Long |
getInitiatorID()
The initiator object's numeric ID.
|
java.lang.String |
getInitiatorName()
The initiator's unique iSCSI or FC storage protocol name
|
Optional<CHAPSecret> |
getInitiatorSecret()
The CHAP secret used to authenticate the initiator.
|
java.lang.Boolean |
getRequireChap()
True if CHAP authentication is required for this initiator.
|
Optional<CHAPSecret> |
getTargetSecret()
The CHAP secret used to authenticate the target (mutual CHAP authentication).
|
java.lang.Long[] |
getVirtualNetworkIDs()
A list of virtual network identifiers associated with this initiator.
|
java.lang.Long[] |
getVolumeAccessGroups()
A list of volumeAccessGroupIDs the initiator is a member of.
|
int |
hashCode() |
void |
setAlias(java.lang.String alias) |
void |
setAttributes(Attributes attributes) |
void |
setChapUsername(Optional<java.lang.String> chapUsername) |
void |
setInitiatorID(java.lang.Long initiatorID) |
void |
setInitiatorName(java.lang.String initiatorName) |
void |
setInitiatorSecret(Optional<CHAPSecret> initiatorSecret) |
void |
setRequireChap(java.lang.Boolean requireChap) |
void |
setTargetSecret(Optional<CHAPSecret> targetSecret) |
void |
setVirtualNetworkIDs(java.lang.Long[] virtualNetworkIDs) |
void |
setVolumeAccessGroups(java.lang.Long[] volumeAccessGroups) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public Initiator(java.lang.String alias, java.lang.Long initiatorID, java.lang.String initiatorName, java.lang.Long[] volumeAccessGroups, Attributes attributes)
@Since(value="11.0") public Initiator(java.lang.String alias, java.lang.Long initiatorID, java.lang.String initiatorName, java.lang.Long[] volumeAccessGroups, Attributes attributes, java.lang.Boolean requireChap, Optional<java.lang.String> chapUsername, Optional<CHAPSecret> initiatorSecret, Optional<CHAPSecret> targetSecret)
@Since(value="12.0") public Initiator(java.lang.String alias, java.lang.Long initiatorID, java.lang.String initiatorName, java.lang.Long[] volumeAccessGroups, Attributes attributes, java.lang.Boolean requireChap, Optional<java.lang.String> chapUsername, Optional<CHAPSecret> initiatorSecret, Optional<CHAPSecret> targetSecret, java.lang.Long[] virtualNetworkIDs)
public java.lang.String getAlias()
public void setAlias(java.lang.String alias)
public java.lang.Long getInitiatorID()
public void setInitiatorID(java.lang.Long initiatorID)
public java.lang.String getInitiatorName()
public void setInitiatorName(java.lang.String initiatorName)
public java.lang.Long[] getVolumeAccessGroups()
public void setVolumeAccessGroups(java.lang.Long[] volumeAccessGroups)
public Attributes getAttributes()
public void setAttributes(Attributes attributes)
public java.lang.Boolean getRequireChap()
public void setRequireChap(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 java.lang.Long[] getVirtualNetworkIDs()
public void setVirtualNetworkIDs(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 Initiator.Builder builder()
public final Initiator.Builder asBuilder()