public String getTargetName() {
        return this.targetName;
    }
<p>
The name of the iSCSI target used by an initiator to connect to a volume and used as a suffix for the target ARN.
For example, specifying <code>TargetName</code> as <i>myvolume</i> results in the target ARN of
<code>arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume</code>
. The target name must be unique across all volumes on a gateway.
</p>
<p>
If you don't specify a value, Storage Gateway uses the value that was previously used for this volume as the new
target name.
</p>

@return The name of the iSCSI target used by an initiator to connect to a volume and used as a suffix for the
        target ARN. For example, specifying <code>TargetName</code> as <i>myvolume</i> results in the target ARN
        of
        <code>arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume</code>
        . The target name must be unique across all volumes on a gateway.</p>
        <p>
        If you don't specify a value, Storage Gateway uses the value that was previously used for this volume as
        the new target name.
aws-java-sdk-storagegateway/src/main/java/com/amazonaws/services/storagegateway/model/CachediSCSIVolume.java